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.0008433/0.0008436, allocations: 92.95 kB / 16.02 MB, free: 84 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.001087/0.001087, allocations: 183.9 kB / 16.92 MB, free: 6.934 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7039/0.7039, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.000296, allocations: 15.98 kB / 496 MB, free: 6.277 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1361, allocations: 77.53 MB / 0.56 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.4252/0.5614, allocations: 172.1 MB / 0.7281 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01769/0.5791, allocations: 12.66 MB / 0.7405 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001183/0.5804, allocations: 27.81 kB / 0.7405 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.5817, allocations: 385.5 kB / 0.7409 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003029/0.5847, allocations: 0.924 MB / 0.7418 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004554/0.5893, allocations: 1.671 MB / 0.7434 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003742/0.5931, allocations: 2.867 MB / 0.7462 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.5955, allocations: 1.363 MB / 0.7476 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004651/0.6002, allocations: 1.164 MB / 0.7487 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.6014, allocations: 0.7307 MB / 0.7494 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002804/0.6017, allocations: 44 kB / 0.7495 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002819/0.6045, allocations: 1.419 MB / 0.7508 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004632/0.605, allocations: 338.6 kB / 0.7512 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.6061, allocations: 0.728 MB / 0.7519 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00389/0.61, allocations: 2.679 MB / 0.7545 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.61, allocations: 3.938 kB / 0.7545 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.61, allocations: 0 / 0.7545 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.611e-05/0.6101, allocations: 0 / 0.7545 GB, free: 15.39 MB / 0.5762 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.003612/0.6137, allocations: 1.701 MB / 0.7562 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.6137, allocations: 8.031 kB / 0.7562 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004073/0.6141, allocations: 206.6 kB / 0.7564 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/0.6169, allocations: 413.6 kB / 0.7568 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.6188, allocations: 1.003 MB / 0.7577 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.537e-05/0.6189, allocations: 110.7 kB / 0.7578 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.6192, allocations: 132 kB / 0.758 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.6222, allocations: 1.515 MB / 0.7594 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.6222, allocations: 7.922 kB / 0.7595 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.6224, allocations: 64 kB / 0.7595 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/0.6224, allocations: 32 kB / 0.7595 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.6253, allocations: 1.587 MB / 0.7611 GB, free: 8.43 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 preOpt removeSimpleEquations (simulation): time 0.007683/0.633, allocations: 5.371 MB / 0.7663 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/0.6358, allocations: 1.516 MB / 0.7678 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008908/0.6367, allocations: 490.4 kB / 0.7683 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007586/0.6375, allocations: 437.3 kB / 0.7687 GB, free: 176 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/0.6388, allocations: 0.6996 MB / 0.7694 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 3.376e-06/0.6388, allocations: 0 / 0.7694 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.004355/0.6432, allocations: 1.676 MB / 0.771 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.6433, allocations: 200.9 kB / 0.7712 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.6447, allocations: 0.8922 MB / 0.7721 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.6448, allocations: 45.7 kB / 0.7721 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/0.6454, allocations: 0.5974 MB / 0.7727 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003412/0.6457, allocations: 358.8 kB / 0.7731 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.6458, allocations: 81.67 kB / 0.7731 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.646, allocations: 345.9 kB / 0.7735 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008411/0.6468, allocations: 377.8 kB / 0.7738 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009604/0.6478, allocations: 0.5633 MB / 0.7744 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.6495, allocations: 0.9371 MB / 0.7753 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.6495, allocations: 4 kB / 0.7753 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002749/0.6523, allocations: 1.2 MB / 0.7765 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6523, allocations: 4 kB / 0.7765 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6523, allocations: 4 kB / 0.7765 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/0.6529, allocations: 88.98 kB / 0.7766 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.654, allocations: 251.6 kB / 0.7768 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.6561, allocations: 1.544 MB / 0.7783 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.6573, allocations: 162.8 kB / 0.7785 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-05/0.6574, allocations: 43.97 kB / 0.7785 GB, free: 5.738 MB / 0.5919 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.0006412/0.658, allocations: 345.5 kB / 0.7788 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/0.6583, allocations: 118.6 kB / 0.7789 GB, free: 5.273 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003339/0.6616, allocations: 1.441 MB / 0.7804 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.6616, allocations: 12 kB / 0.7804 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.6616, allocations: 7.938 kB / 0.7804 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.6617, allocations: 7.969 kB / 0.7804 GB, free: 3.789 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 postOpt removeSimpleEquations (simulation): time 0.004956/0.6666, allocations: 2.889 MB / 0.7832 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.6666, allocations: 8 kB / 0.7832 GB, free: 0.8086 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.6677, allocations: 223.7 kB / 0.7834 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005294/0.6682, allocations: 84.77 kB / 0.7835 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.212e-05/0.6683, allocations: 35.97 kB / 0.7835 GB, free: 480 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.6701, allocations: 1.559 MB / 0.7851 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6702, allocations: 0 / 0.7851 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002713/0.6729, allocations: 1.324 MB / 0.7864 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006078/0.6735, allocations: 383 kB / 0.7867 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.6737, allocations: 27.98 kB / 0.7867 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.6749, allocations: 113.4 kB / 0.7869 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.6751, allocations: 88.88 kB / 0.7869 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.6752, allocations: 51.95 kB / 0.787 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009176/0.6761, allocations: 0.615 MB / 0.7876 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6761, allocations: 0 / 0.7876 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001299/0.6775, allocations: 0.4909 MB / 0.7881 GB, free: 11.64 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 (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.004293/0.6818, allocations: 2.499 MB / 0.7905 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002275/0.684, allocations: 1.121 MB / 0.7916 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6841, allocations: 0 / 0.7916 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.6853, allocations: 0.6875 MB / 0.7923 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.6878, allocations: 0.4952 MB / 0.7928 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/0.7051, allocations: 10.04 MB / 0.8026 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008675/0.706, allocations: 1.209 MB / 0.8037 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001579/0.7076, allocations: 389.9 kB / 0.8041 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008386/0.7084, allocations: 0.5656 MB / 0.8047 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of SimCode: time 8.72e-07/0.7084, allocations: 0 / 0.8047 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.298/1.006, allocations: 32.13 MB / 0.836 GB, free: 226.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/1.007, allocations: 280.9 kB / 0.8363 GB, free: 226.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.913/3.92, allocations: 0 / 0.8363 GB, free: 226.1 MB / 0.6387 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)