Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.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.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.000687/0.000687, allocations: 88.17 kB / 15.7 MB, free: 460 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.0008181/0.0008181, allocations: 174.1 kB / 16.58 MB, free: 6.797 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.178/1.178, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5933/0.5933, allocations: 113.7 MB / 405.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002782, allocations: 9.719 kB / 493.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1244, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.3847/0.5092, allocations: 159.9 MB / 0.7131 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.5213, allocations: 11.8 MB / 0.7246 GB, free: 15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007173/0.522, allocations: 27.81 kB / 0.7246 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009103/0.523, allocations: 317.7 kB / 0.7249 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.525, allocations: 0.8056 MB / 0.7257 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002983/0.528, allocations: 1.361 MB / 0.727 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002072/0.53, allocations: 2.419 MB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.5313, allocations: 1.188 MB / 0.7306 GB, free: 8.875 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.5329, allocations: 1.039 MB / 0.7316 GB, free: 7.832 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006561/0.5335, allocations: 0.6945 MB / 0.7322 GB, free: 7.137 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.661e-05/0.5336, allocations: 47.94 kB / 0.7323 GB, free: 7.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.5351, allocations: 0.8813 MB / 0.7332 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.5354, allocations: 330.7 kB / 0.7335 GB, free: 5.883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002246/0.5356, allocations: 308.8 kB / 0.7338 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.5372, allocations: 1.921 MB / 0.7356 GB, free: 3.648 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.5372, allocations: 0 / 0.7356 GB, free: 3.648 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5372, allocations: 0 / 0.7356 GB, free: 3.648 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.5372, allocations: 0 / 0.7356 GB, free: 3.648 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.002354/0.5395, allocations: 1.71 MB / 0.7373 GB, free: 1.879 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.5396, allocations: 12.03 kB / 0.7373 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001948/0.5398, allocations: 202.7 kB / 0.7375 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.5419, allocations: 413.6 kB / 0.7379 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.5431, allocations: 0.9534 MB / 0.7388 GB, free: 264 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/0.5432, allocations: 102.7 kB / 0.7389 GB, free: 160 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.5433, allocations: 132 kB / 0.7391 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.5454, allocations: 1.513 MB / 0.7405 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.5455, allocations: 3.953 kB / 0.7405 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.5456, allocations: 63.98 kB / 0.7406 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.5456, allocations: 32 kB / 0.7406 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.5479, allocations: 1.584 MB / 0.7422 GB, free: 12.75 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.005657/0.5536, allocations: 5.098 MB / 0.7472 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.5558, allocations: 1.522 MB / 0.7486 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007279/0.5565, allocations: 479.6 kB / 0.7491 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006374/0.5572, allocations: 445.3 kB / 0.7495 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.5582, allocations: 0.6876 MB / 0.7502 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 2.384e-06/0.5582, allocations: 4 kB / 0.7502 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=107): time 0.003506/0.5617, allocations: 1.668 MB / 0.7518 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/0.5618, allocations: 196.9 kB / 0.752 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009786/0.5628, allocations: 0.8844 MB / 0.7529 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.5629, allocations: 49.7 kB / 0.7529 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003676/0.5633, allocations: 0.5974 MB / 0.7535 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.5635, allocations: 354.9 kB / 0.7539 GB, free: 260 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.5636, allocations: 20 kB / 0.7539 GB, free: 240 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.5637, allocations: 345.9 kB / 0.7542 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/0.5644, allocations: 373.8 kB / 0.7546 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007751/0.5651, allocations: 0.567 MB / 0.7551 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.5659, allocations: 446.8 kB / 0.7555 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5659, allocations: 0 / 0.7555 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002129/0.568, allocations: 1.192 MB / 0.7567 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.5681, allocations: 7.953 kB / 0.7567 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.5681, allocations: 4.406 kB / 0.7567 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004811/0.5686, allocations: 84.78 kB / 0.7568 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009562/0.5695, allocations: 251.7 kB / 0.757 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.5712, allocations: 1.533 MB / 0.7585 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008396/0.572, allocations: 161.5 kB / 0.7587 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/0.5721, allocations: 47.97 kB / 0.7587 GB, free: 11.04 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (123): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004425/0.5726, allocations: 334.9 kB / 0.7591 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.5727, allocations: 126.5 kB / 0.7592 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/0.5754, allocations: 1.453 MB / 0.7606 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.5754, allocations: 12 kB / 0.7606 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5755, allocations: 4 kB / 0.7606 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.5755, allocations: 7.969 kB / 0.7606 GB, free: 9.094 MB / 0.5762 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 postOpt removeSimpleEquations (simulation): time 0.003844/0.5793, allocations: 2.881 MB / 0.7634 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.5793, allocations: 0 / 0.7634 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008795/0.5802, allocations: 219.8 kB / 0.7636 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004151/0.5806, allocations: 88.7 kB / 0.7637 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.5807, allocations: 35.97 kB / 0.7638 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.5822, allocations: 1.556 MB / 0.7653 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5822, allocations: 0 / 0.7653 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002153/0.5843, allocations: 1.336 MB / 0.7666 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.5848, allocations: 367.1 kB / 0.7669 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.585, allocations: 27.98 kB / 0.767 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000862/0.5858, allocations: 123 kB / 0.7671 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.586, allocations: 84.88 kB / 0.7672 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.785e-05/0.5861, allocations: 51.95 kB / 0.7672 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007158/0.5868, allocations: 0.6111 MB / 0.7678 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5868, allocations: 0 / 0.7678 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001063/0.5879, allocations: 474.8 kB / 0.7683 GB, free: 0.9922 MB / 0.5762 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 (118): * Single equations (assignments): 112 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003718/0.5916, allocations: 2.476 MB / 0.7707 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.5935, allocations: 1.117 MB / 0.7718 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5935, allocations: 0 / 0.7718 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.5945, allocations: 0.6799 MB / 0.7724 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.5963, allocations: 491.1 kB / 0.7729 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/0.6088, allocations: 7.557 MB / 0.7803 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008066/0.6097, allocations: 1.205 MB / 0.7815 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001482/0.6111, allocations: 389.9 kB / 0.7818 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007729/0.6119, allocations: 0.5578 MB / 0.7824 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of SimCode: time 5.41e-07/0.6119, allocations: 0 / 0.7824 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04841/0.6604, allocations: 33.26 MB / 0.8148 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/0.6606, allocations: 266 kB / 0.8151 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/2.964, allocations: 0 / 0.8151 GB, free: 1.25 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_MassFlowSource_WeatherData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1) Environment - environmentSimulation: