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.001541/0.001541, allocations: 107.1 kB / 16.4 MB, free: 6.48 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.001699/0.001699, allocations: 197.2 kB / 17.34 MB, free: 5.754 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.259/1.259, 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.6709/0.6709, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 66.27 kB / 0.5572 GB, free: 32.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1352, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.5672/0.7024, allocations: 176.8 MB / 0.8042 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.719, allocations: 12.82 MB / 0.8167 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00225/0.7213, allocations: 32.72 kB / 0.8167 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.7228, allocations: 474.3 kB / 0.8172 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003653/0.7266, allocations: 1.032 MB / 0.8182 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005015/0.7316, allocations: 1.865 MB / 0.82 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003527/0.7352, allocations: 2.546 MB / 0.8225 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002422/0.7376, allocations: 1.598 MB / 0.8241 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004159/0.7418, allocations: 1.443 MB / 0.8255 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001562/0.7434, allocations: 0.8806 MB / 0.8263 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003878/0.7438, allocations: 173 kB / 0.8265 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.747, allocations: 1.424 MB / 0.8279 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005464/0.7476, allocations: 493 kB / 0.8284 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.7487, allocations: 0.8741 MB / 0.8292 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004315/0.753, allocations: 2.803 MB / 0.832 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.7531, allocations: 0 / 0.832 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.424e-06/0.7531, allocations: 6.344 kB / 0.832 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.835e-05/0.7531, allocations: 0 / 0.832 GB, free: 1.238 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: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.003582/0.7567, allocations: 2.027 MB / 0.8339 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.7568, allocations: 9.938 kB / 0.8339 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002226/0.757, allocations: 205 kB / 0.8341 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/0.7597, allocations: 402.8 kB / 0.8345 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.7614, allocations: 1.032 MB / 0.8355 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.968e-05/0.7615, allocations: 106.2 kB / 0.8356 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.7616, allocations: 134.1 kB / 0.8358 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002424/0.7641, allocations: 1.516 MB / 0.8372 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.7641, allocations: 6.125 kB / 0.8372 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.7642, allocations: 60.56 kB / 0.8373 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.7643, allocations: 35.22 kB / 0.8373 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.7668, allocations: 1.586 MB / 0.8389 GB, free: 12.7 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.00746/0.7742, allocations: 5.31 MB / 0.8441 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.7767, allocations: 1.518 MB / 0.8456 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007993/0.7775, allocations: 491.4 kB / 0.846 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007198/0.7782, allocations: 422.7 kB / 0.8464 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/0.7794, allocations: 0.6841 MB / 0.8471 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 3.266e-06/0.7794, allocations: 0 / 0.8471 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of matching and sorting (n=107): time 0.00419/0.7836, allocations: 1.667 MB / 0.8487 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.7837, allocations: 204.8 kB / 0.8489 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.785, allocations: 0.8882 MB / 0.8498 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.7851, allocations: 53.7 kB / 0.8498 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004545/0.7856, allocations: 0.5897 MB / 0.8504 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.7858, allocations: 354.7 kB / 0.8508 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002928/0.7861, allocations: 198.4 kB / 0.8509 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7863, allocations: 345.9 kB / 0.8513 GB, free: 0.9922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006881/0.787, allocations: 377.8 kB / 0.8516 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008316/0.7878, allocations: 0.5594 MB / 0.8522 GB, free: 16 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.7893, allocations: 0.9371 MB / 0.8531 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7893, allocations: 0 / 0.8531 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00254/0.7919, allocations: 1.183 MB / 0.8542 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.7919, allocations: 9.719 kB / 0.8543 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.792, allocations: 8.016 kB / 0.8543 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005884/0.7925, allocations: 89.17 kB / 0.8544 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.7936, allocations: 247.6 kB / 0.8546 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/0.7956, allocations: 1.646 MB / 0.8562 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.7968, allocations: 138.9 kB / 0.8563 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.813e-05/0.7969, allocations: 47.97 kB / 0.8564 GB, free: 11.5 MB / 0.6231 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 (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 (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006523/0.7975, allocations: 341.5 kB / 0.8567 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.7978, allocations: 118.6 kB / 0.8568 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002879/0.8007, allocations: 1.429 MB / 0.8582 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.8007, allocations: 12 kB / 0.8582 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.8008, allocations: 0 / 0.8582 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.8008, allocations: 7.969 kB / 0.8582 GB, free: 9.586 MB / 0.6231 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.004561/0.8053, allocations: 2.873 MB / 0.861 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.8054, allocations: 7.938 kB / 0.861 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009477/0.8063, allocations: 219.7 kB / 0.8612 GB, free: 6.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/0.8068, allocations: 72.78 kB / 0.8613 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.033e-05/0.8068, allocations: 39.91 kB / 0.8614 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.8086, allocations: 1.668 MB / 0.863 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8086, allocations: 3.984 kB / 0.863 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.8114, allocations: 1.326 MB / 0.8643 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000637/0.812, allocations: 359.2 kB / 0.8646 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.8122, allocations: 23.91 kB / 0.8647 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000928/0.8131, allocations: 86.64 kB / 0.8647 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.8133, allocations: 84.88 kB / 0.8648 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.914e-05/0.8134, allocations: 51.91 kB / 0.8649 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008313/0.8143, allocations: 0.6228 MB / 0.8655 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8143, allocations: 0 / 0.8655 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001267/0.8156, allocations: 490.9 kB / 0.8659 GB, free: 1.438 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00425/0.8198, allocations: 2.479 MB / 0.8684 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.8221, allocations: 1.121 MB / 0.8695 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.8222, allocations: 0 / 0.8695 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.8233, allocations: 0.6758 MB / 0.8701 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/0.8258, allocations: 0.5292 MB / 0.8706 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/0.842, allocations: 8.881 MB / 0.8793 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007582/0.8428, allocations: 1.209 MB / 0.8805 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001374/0.8442, allocations: 385.9 kB / 0.8809 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008384/0.8451, allocations: 0.5695 MB / 0.8814 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of SimCode: time 1.403e-06/0.8451, allocations: 0 / 0.8814 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09179/0.9369, allocations: 34.58 MB / 0.9152 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.3, allocations: 6.641 kB / 0.9152 GB, free: 15.36 MB / 0.6856 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/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)