Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",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.0007017/0.0007018, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000737/0.000737, allocations: 170.2 kB / 16.58 MB, free: 6.051 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.196/1.196, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6217/0.6217, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002644, allocations: 8 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1165, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.3486/0.4651, allocations: 151.7 MB / 0.705 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.4811, allocations: 15.94 MB / 0.7206 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008412/0.482, allocations: 27.81 kB / 0.7206 GB, free: 3.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009431/0.4829, allocations: 377.3 kB / 0.721 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002789/0.4857, allocations: 1.308 MB / 0.7223 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.4881, allocations: 1.109 MB / 0.7234 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00202/0.4901, allocations: 2.564 MB / 0.7259 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.4916, allocations: 1.505 MB / 0.7273 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.4929, allocations: 0.9882 MB / 0.7283 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008295/0.4938, allocations: 0.8477 MB / 0.7291 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.4939, allocations: 48 kB / 0.7292 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.4957, allocations: 1.006 MB / 0.7302 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.00045/0.4961, allocations: 0.5994 MB / 0.7307 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003267/0.4965, allocations: 412.4 kB / 0.7311 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.4986, allocations: 2.634 MB / 0.7337 GB, free: 5.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4986, allocations: 0 / 0.7337 GB, free: 5.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4987, allocations: 4 kB / 0.7337 GB, free: 5.727 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.213e-05/0.4987, allocations: 4 kB / 0.7337 GB, free: 5.723 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.003514/0.5022, allocations: 2.407 MB / 0.7361 GB, free: 3.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.5023, allocations: 12.03 kB / 0.7361 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003141/0.5026, allocations: 248.9 kB / 0.7363 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003227/0.5058, allocations: 0.5822 MB / 0.7369 GB, free: 2.398 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003533/0.5094, allocations: 3.325 MB / 0.7401 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.5095, allocations: 135.4 kB / 0.7403 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.5097, allocations: 164 kB / 0.7404 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/0.5125, allocations: 1.937 MB / 0.7423 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.5125, allocations: 0 / 0.7423 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.5126, allocations: 75.94 kB / 0.7424 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.5127, allocations: 44 kB / 0.7424 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.5156, allocations: 2.081 MB / 0.7444 GB, free: 10.54 MB / 0.5606 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.007116/0.5227, allocations: 6.254 MB / 0.7506 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.5254, allocations: 2.083 MB / 0.7526 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.5264, allocations: 0.7647 MB / 0.7533 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004649/0.5269, allocations: 425.6 kB / 0.7537 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/0.5284, allocations: 1.005 MB / 0.7547 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 2.716e-06/0.5284, allocations: 3.938 kB / 0.7547 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=146): time 0.005496/0.5339, allocations: 2.992 MB / 0.7576 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/0.534, allocations: 197.2 kB / 0.7578 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/0.5377, allocations: 4.037 MB / 0.7618 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.5379, allocations: 53.7 kB / 0.7618 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006365/0.5385, allocations: 0.8905 MB / 0.7627 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003399/0.5389, allocations: 481 kB / 0.7632 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.658e-05/0.5389, allocations: 24 kB / 0.7632 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.5391, allocations: 353.9 kB / 0.7635 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000934/0.54, allocations: 0.5726 MB / 0.7641 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.5411, allocations: 0.793 MB / 0.7649 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.5421, allocations: 0.6466 MB / 0.7655 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5421, allocations: 0 / 0.7655 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003081/0.5452, allocations: 1.772 MB / 0.7672 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.5453, allocations: 8 kB / 0.7672 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5453, allocations: 0 / 0.7672 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008733/0.5461, allocations: 220.1 kB / 0.7674 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.5475, allocations: 323.6 kB / 0.7677 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004694/0.5522, allocations: 6.792 MB / 0.7744 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.5534, allocations: 188.7 kB / 0.7746 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.09e-05/0.5535, allocations: 47.97 kB / 0.7746 GB, free: 10.27 MB / 0.5919 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007896/0.5543, allocations: 485.5 kB / 0.7751 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.5546, allocations: 189.7 kB / 0.7752 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/0.5584, allocations: 2.157 MB / 0.7773 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.5584, allocations: 16 kB / 0.7774 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5584, allocations: 7.938 kB / 0.7774 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.5585, allocations: 7.969 kB / 0.7774 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005993/0.5645, allocations: 4.106 MB / 0.7814 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5645, allocations: 3.984 kB / 0.7814 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.5658, allocations: 319.5 kB / 0.7817 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007875/0.5666, allocations: 212.1 kB / 0.7819 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.725e-05/0.5667, allocations: 43.97 kB / 0.7819 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/0.5714, allocations: 6.84 MB / 0.7886 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5715, allocations: 0 / 0.7886 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.5748, allocations: 2.003 MB / 0.7906 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007871/0.5756, allocations: 0.5175 MB / 0.7911 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/0.5759, allocations: 35.94 kB / 0.7911 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/0.577, allocations: 142.8 kB / 0.7913 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.5772, allocations: 109.1 kB / 0.7914 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/0.5774, allocations: 75.94 kB / 0.7914 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002913/0.5803, allocations: 3.097 MB / 0.7945 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.5803, allocations: 3.938 kB / 0.7945 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001576/0.5819, allocations: 0.6625 MB / 0.7951 GB, free: 4.418 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00505/0.587, allocations: 3.203 MB / 0.7982 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002957/0.5899, allocations: 2.039 MB / 0.8002 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.5899, allocations: 8.562 kB / 0.8002 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.5917, allocations: 1.418 MB / 0.8016 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.5939, allocations: 0.4932 MB / 0.8021 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/0.6202, allocations: 19.21 MB / 0.8209 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.6215, allocations: 1.529 MB / 0.8224 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001942/0.6234, allocations: 0.5443 MB / 0.8229 GB, free: 7.223 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.6246, allocations: 0.8897 MB / 0.8238 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/0.6246, allocations: 0 / 0.8238 GB, free: 6.332 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2836/0.9082, allocations: 48.12 MB / 0.8707 GB, free: 209.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.9084, allocations: 255.4 kB / 0.871 GB, free: 209.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.698/3.606, allocations: 3.938 kB / 0.871 GB, free: 209.2 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) Environment - environmentSimulation: