Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 100 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001703, allocations: 193.2 kB / 17.34 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7079/0.7079, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.08 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1484, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5422/0.6906, allocations: 168.4 MB / 0.796 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02065/0.7113, allocations: 17.35 MB / 0.813 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002377/0.7137, allocations: 29 kB / 0.813 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002203/0.716, allocations: 0.5717 MB / 0.8136 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00642/0.7224, allocations: 1.79 MB / 0.8153 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004283/0.7267, allocations: 1.448 MB / 0.8167 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004327/0.7311, allocations: 2.899 MB / 0.8196 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003099/0.7342, allocations: 1.942 MB / 0.8215 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004212/0.7384, allocations: 1.452 MB / 0.8229 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.7404, allocations: 1.124 MB / 0.824 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005727/0.741, allocations: 221.5 kB / 0.8242 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003643/0.7446, allocations: 1.552 MB / 0.8257 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009595/0.7456, allocations: 0.801 MB / 0.8265 GB, free: 3.355 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.7477, allocations: 1.277 MB / 0.8277 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005826/0.7535, allocations: 3.736 MB / 0.8314 GB, free: 64 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.7535, allocations: 0 / 0.8314 GB, free: 64 kB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7536, allocations: 4 kB / 0.8314 GB, free: 60 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.00014/0.7537, allocations: 0 / 0.8314 GB, free: 60 kB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.006943/0.7606, allocations: 2.921 MB / 0.8342 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.7607, allocations: 10.09 kB / 0.8342 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004806/0.7612, allocations: 249.3 kB / 0.8345 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003856/0.7651, allocations: 0.5684 MB / 0.835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/0.7695, allocations: 3.428 MB / 0.8384 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.7697, allocations: 125.9 kB / 0.8385 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/0.77, allocations: 175.3 kB / 0.8387 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/0.7739, allocations: 1.961 MB / 0.8406 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.546e-05/0.7739, allocations: 0 / 0.8406 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/0.7741, allocations: 72 kB / 0.8407 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.7741, allocations: 40 kB / 0.8407 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00366/0.7778, allocations: 2.117 MB / 0.8428 GB, free: 8.047 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.7891, allocations: 6.709 MB / 0.8493 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003519/0.7927, allocations: 2.135 MB / 0.8514 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.794, allocations: 0.773 MB / 0.8522 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006122/0.7947, allocations: 428.8 kB / 0.8526 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001918/0.7966, allocations: 1.012 MB / 0.8536 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 3.957e-06/0.7966, allocations: 0 / 0.8536 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.006895/0.8035, allocations: 3 MB / 0.8565 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.8037, allocations: 201.2 kB / 0.8567 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004979/0.8086, allocations: 4.077 MB / 0.8607 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001875/0.8088, allocations: 61.64 kB / 0.8607 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007698/0.8096, allocations: 0.8984 MB / 0.8616 GB, free: 4.129 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004399/0.8101, allocations: 480.8 kB / 0.8621 GB, free: 3.664 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004578/0.8105, allocations: 242.8 kB / 0.8623 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.8107, allocations: 357.9 kB / 0.8626 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.8119, allocations: 0.5765 MB / 0.8632 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.8133, allocations: 0.8086 MB / 0.864 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.8157, allocations: 1.341 MB / 0.8653 GB, free: 272 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8157, allocations: 0 / 0.8653 GB, free: 272 kB / 0.6231 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00402/0.8197, allocations: 1.799 MB / 0.867 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.8197, allocations: 4 kB / 0.867 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8198, allocations: 8.062 kB / 0.8671 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.8208, allocations: 212 kB / 0.8673 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.8223, allocations: 327.6 kB / 0.8676 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005987/0.8283, allocations: 7.331 MB / 0.8747 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/0.83, allocations: 162.8 kB / 0.8749 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.8302, allocations: 55.95 kB / 0.8749 GB, free: 5.641 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001005/0.8312, allocations: 485.7 kB / 0.8754 GB, free: 5.156 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005999/0.8318, allocations: 189.7 kB / 0.8756 GB, free: 4.969 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004584/0.8364, allocations: 2.157 MB / 0.8777 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.8364, allocations: 15.98 kB / 0.8777 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.8364, allocations: 4 kB / 0.8777 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.8365, allocations: 7.969 kB / 0.8777 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00746/0.8439, allocations: 4.14 MB / 0.8818 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.8439, allocations: 0 / 0.8818 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.8454, allocations: 319.5 kB / 0.8821 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008786/0.8463, allocations: 200.1 kB / 0.8823 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.8464, allocations: 39.97 kB / 0.8823 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005608/0.852, allocations: 7.366 MB / 0.8895 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.852, allocations: 4.062 kB / 0.8895 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00433/0.8564, allocations: 2.023 MB / 0.8915 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.8576, allocations: 0.5099 MB / 0.892 GB, free: 3.344 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004624/0.8581, allocations: 28 kB / 0.892 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.8596, allocations: 111.6 kB / 0.8921 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.8599, allocations: 117.1 kB / 0.8922 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/0.8601, allocations: 68.14 kB / 0.8923 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003339/0.8634, allocations: 3.132 MB / 0.8953 GB, free: 15.91 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8634, allocations: 0 / 0.8953 GB, free: 15.91 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002115/0.8655, allocations: 0.6936 MB / 0.896 GB, free: 15.21 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006472/0.872, allocations: 3.227 MB / 0.8992 GB, free: 12.16 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00394/0.876, allocations: 2.078 MB / 0.9012 GB, free: 10.01 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.876, allocations: 12.61 kB / 0.9012 GB, free: 10 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/0.8782, allocations: 1.425 MB / 0.9026 GB, free: 8.516 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003918/0.8822, allocations: 0.5636 MB / 0.9031 GB, free: 7.977 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0335/0.9157, allocations: 20.99 MB / 0.9236 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/0.9171, allocations: 1.529 MB / 0.9251 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001784/0.9189, allocations: 0.5291 MB / 0.9257 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/0.9201, allocations: 0.9031 MB / 0.9265 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of SimCode: time 8.62e-07/0.9202, allocations: 0 / 0.9265 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09758/1.018, allocations: 50.26 MB / 0.9756 GB, free: 14 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/16.09, allocations: 64 / 0.9756 GB, free: 14 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1)