Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.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.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",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.001484/0.001485, allocations: 106.1 kB / 16.4 MB, free: 6.469 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.001694/0.001694, allocations: 193.2 kB / 17.34 MB, free: 5.75 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7181/0.7181, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 75.12 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1426, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5204/0.663, allocations: 154.5 MB / 0.7824 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01311/0.6762, allocations: 10.55 MB / 0.7927 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.6777, allocations: 22.34 kB / 0.7928 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.679, allocations: 275.3 kB / 0.793 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003678/0.6827, allocations: 0.9832 MB / 0.794 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.6858, allocations: 1.089 MB / 0.795 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002807/0.6886, allocations: 1.727 MB / 0.7967 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/0.6908, allocations: 1.147 MB / 0.7979 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.6933, allocations: 0.7286 MB / 0.7986 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/0.6946, allocations: 0.619 MB / 0.7992 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003912/0.695, allocations: 133.7 kB / 0.7993 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002556/0.6975, allocations: 1.028 MB / 0.8003 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004882/0.698, allocations: 379.5 kB / 0.8007 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.6991, allocations: 0.6844 MB / 0.8013 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003976/0.7031, allocations: 2.231 MB / 0.8035 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.7031, allocations: 4 kB / 0.8035 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7031, allocations: 0 / 0.8035 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.888e-05/0.7032, allocations: 0 / 0.8035 GB, free: 10.63 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004049/0.7073, allocations: 1.733 MB / 0.8052 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.7073, allocations: 10.62 kB / 0.8052 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002175/0.7075, allocations: 150.5 kB / 0.8054 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.7092, allocations: 274.5 kB / 0.8056 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/0.711, allocations: 1.08 MB / 0.8067 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/0.7111, allocations: 72.41 kB / 0.8067 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.7112, allocations: 95.31 kB / 0.8068 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.7131, allocations: 1.113 MB / 0.8079 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.7132, allocations: 0 / 0.8079 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/0.7133, allocations: 44.66 kB / 0.808 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.7133, allocations: 22.59 kB / 0.808 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.7154, allocations: 1.317 MB / 0.8093 GB, free: 7.73 MB / 0.5919 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.005188/0.7206, allocations: 3.472 MB / 0.8127 GB, free: 5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.7225, allocations: 1.1 MB / 0.8137 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007315/0.7233, allocations: 420.7 kB / 0.8141 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.7236, allocations: 139.4 kB / 0.8143 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001075/0.7247, allocations: 0.6283 MB / 0.8149 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 4.418e-06/0.7247, allocations: 3.984 kB / 0.8149 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.004019/0.7287, allocations: 1.628 MB / 0.8165 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.248e-05/0.7288, allocations: 194.9 kB / 0.8167 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/0.73, allocations: 1.018 MB / 0.8177 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.7301, allocations: 49.14 kB / 0.8177 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.7305, allocations: 480.4 kB / 0.8182 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.7308, allocations: 300.2 kB / 0.8185 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.731, allocations: 169.2 kB / 0.8186 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.7311, allocations: 343.7 kB / 0.8189 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006361/0.7318, allocations: 332.6 kB / 0.8193 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007533/0.7326, allocations: 467.6 kB / 0.8197 GB, free: 448 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.7339, allocations: 0.7648 MB / 0.8205 GB, free: 36 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.7339, allocations: 2.812 kB / 0.8205 GB, free: 36 kB / 0.5919 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002425/0.7364, allocations: 1.047 MB / 0.8215 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.7364, allocations: 4.812 kB / 0.8215 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.7364, allocations: 2.562 kB / 0.8215 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007117/0.7371, allocations: 115.9 kB / 0.8216 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008192/0.738, allocations: 197.2 kB / 0.8218 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002844/0.7408, allocations: 3.062 MB / 0.8248 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009699/0.7418, allocations: 111.2 kB / 0.8249 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.7419, allocations: 38.75 kB / 0.8249 GB, free: 12.25 MB / 0.6075 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005513/0.7424, allocations: 307.6 kB / 0.8252 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.7427, allocations: 102.2 kB / 0.8253 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.7455, allocations: 1.318 MB / 0.8266 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.7455, allocations: 16.11 kB / 0.8266 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.7455, allocations: 3.938 kB / 0.8266 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.7455, allocations: 3.984 kB / 0.8266 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/0.7496, allocations: 2.445 MB / 0.829 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.7496, allocations: 2.812 kB / 0.829 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007819/0.7504, allocations: 190.9 kB / 0.8292 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005379/0.7509, allocations: 100.1 kB / 0.8293 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.639e-05/0.751, allocations: 33.56 kB / 0.8293 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/0.7538, allocations: 3.089 MB / 0.8323 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7538, allocations: 3.984 kB / 0.8323 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/0.7564, allocations: 1.234 MB / 0.8335 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/0.757, allocations: 320.5 kB / 0.8338 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.7572, allocations: 24.7 kB / 0.8339 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007959/0.758, allocations: 75.86 kB / 0.8339 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.7582, allocations: 94.69 kB / 0.834 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-05/0.7583, allocations: 41.16 kB / 0.8341 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008589/0.7591, allocations: 0.7454 MB / 0.8348 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7592, allocations: 0 / 0.8348 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001258/0.7604, allocations: 455 kB / 0.8352 GB, free: 4.488 MB / 0.6075 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004574/0.765, allocations: 2.398 MB / 0.8376 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002324/0.7674, allocations: 1.112 MB / 0.8387 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7674, allocations: 0 / 0.8387 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.7687, allocations: 0.7432 MB / 0.8394 GB, free: 380 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001901/0.7707, allocations: 358 kB / 0.8397 GB, free: 44 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.7853, allocations: 8.324 MB / 0.8479 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/0.786, allocations: 1.107 MB / 0.8489 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001133/0.7872, allocations: 315.9 kB / 0.8492 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007049/0.7879, allocations: 471.2 kB / 0.8497 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of SimCode: time 9.92e-07/0.7879, allocations: 3.938 kB / 0.8497 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06436/0.8523, allocations: 28.78 MB / 0.8778 GB, free: 9.23 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.22, allocations: 11.7 kB / 0.8778 GB, free: 9.219 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)