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.001286/0.001286, allocations: 108.4 kB / 15.98 MB, free: 6.352 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.001285/0.001286, allocations: 193.3 kB / 16.91 MB, free: 6.191 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.22/1.22, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6581/0.6581, allocations: 115.3 MB / 406.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001197, allocations: 63.91 kB / 493.2 MB, free: 0.5977 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2714, allocations: 76.17 MB / 0.556 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1581/0.4295, allocations: 174.4 MB / 0.7263 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.4448, allocations: 12.67 MB / 0.7387 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001201/0.446, allocations: 31.81 kB / 0.7387 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.4475, allocations: 393.5 kB / 0.7391 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002845/0.4503, allocations: 0.9303 MB / 0.74 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.4543, allocations: 1.698 MB / 0.7417 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002915/0.4573, allocations: 2.537 MB / 0.7441 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002125/0.4594, allocations: 1.594 MB / 0.7457 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00402/0.4634, allocations: 1.403 MB / 0.7471 GB, free: 352 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2621/0.7256, allocations: 0.9016 MB / 0.748 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004572/0.7261, allocations: 172.9 kB / 0.7481 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002541/0.7286, allocations: 1.431 MB / 0.7495 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003753/0.729, allocations: 0.4896 MB / 0.75 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007984/0.7298, allocations: 0.8774 MB / 0.7508 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.7333, allocations: 2.811 MB / 0.7536 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7333, allocations: 2.953 kB / 0.7536 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7333, allocations: 0.5 kB / 0.7536 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.893e-05/0.7334, allocations: 0.5312 kB / 0.7536 GB, free: 5.668 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.003354/0.7367, allocations: 2.026 MB / 0.7556 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.7368, allocations: 11.69 kB / 0.7556 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002371/0.737, allocations: 207.7 kB / 0.7558 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/0.7396, allocations: 408.3 kB / 0.7562 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.7411, allocations: 0.9855 MB / 0.7571 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-05/0.7412, allocations: 100.8 kB / 0.7572 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.7414, allocations: 137.4 kB / 0.7574 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002656/0.744, allocations: 1.524 MB / 0.7589 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.7441, allocations: 1.359 kB / 0.7589 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.7442, allocations: 61.38 kB / 0.7589 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.7442, allocations: 32.94 kB / 0.7589 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.747, allocations: 1.586 MB / 0.7605 GB, free: 3.949 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.006235/0.7533, allocations: 5.328 MB / 0.7657 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002414/0.7557, allocations: 1.516 MB / 0.7672 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007829/0.7565, allocations: 483.7 kB / 0.7676 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000744/0.7573, allocations: 436.7 kB / 0.7681 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/0.7584, allocations: 0.6904 MB / 0.7687 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=107): time 2.745e-06/0.7585, allocations: 0 / 0.7687 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=107): time 0.004278/0.7627, allocations: 1.667 MB / 0.7704 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.7629, allocations: 193.6 kB / 0.7705 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.7641, allocations: 0.8947 MB / 0.7714 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/0.7642, allocations: 53.95 kB / 0.7715 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.7646, allocations: 0.5934 MB / 0.772 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.7648, allocations: 355 kB / 0.7724 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003057/0.7652, allocations: 194.9 kB / 0.7726 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.7653, allocations: 346.5 kB / 0.7729 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007007/0.766, allocations: 375.9 kB / 0.7733 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008568/0.7669, allocations: 0.5694 MB / 0.7738 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.7685, allocations: 0.9303 MB / 0.7747 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.7685, allocations: 5.219 kB / 0.7747 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002435/0.7709, allocations: 1.186 MB / 0.7759 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.771, allocations: 6.594 kB / 0.7759 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.771, allocations: 2.594 kB / 0.7759 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005552/0.7715, allocations: 88.06 kB / 0.776 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009833/0.7725, allocations: 244.1 kB / 0.7762 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.7744, allocations: 1.658 MB / 0.7778 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.7755, allocations: 152.7 kB / 0.778 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-05/0.7756, allocations: 45.61 kB / 0.778 GB, free: 13.28 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.0005516/0.7762, allocations: 333.2 kB / 0.7783 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.7764, allocations: 131.1 kB / 0.7785 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/0.7792, allocations: 1.438 MB / 0.7799 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.7792, allocations: 11.42 kB / 0.7799 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.7792, allocations: 3.219 kB / 0.7799 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.7792, allocations: 4.297 kB / 0.7799 GB, free: 12.99 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.004042/0.7833, allocations: 2.888 MB / 0.7827 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7833, allocations: 3.188 kB / 0.7827 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000915/0.7842, allocations: 218.4 kB / 0.7829 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.7846, allocations: 71.48 kB / 0.783 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.331e-05/0.7847, allocations: 37.77 kB / 0.783 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.7864, allocations: 1.665 MB / 0.7846 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7864, allocations: 8.328 kB / 0.7847 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.7887, allocations: 1.319 MB / 0.7859 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004897/0.7892, allocations: 360.2 kB / 0.7863 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.7894, allocations: 24.25 kB / 0.7863 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.7904, allocations: 109.8 kB / 0.7864 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.7906, allocations: 92.25 kB / 0.7865 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-05/0.7907, allocations: 52.38 kB / 0.7866 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00069/0.7914, allocations: 0.6173 MB / 0.7872 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7914, allocations: 0 / 0.7872 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001234/0.7926, allocations: 492.9 kB / 0.7876 GB, free: 10.48 MB / 0.5919 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.00409/0.7967, allocations: 2.483 MB / 0.79 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00308/0.7998, allocations: 1.434 MB / 0.7915 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7998, allocations: 3.469 kB / 0.7915 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.8009, allocations: 0.6731 MB / 0.7921 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.8032, allocations: 0.5352 MB / 0.7926 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01723/0.8205, allocations: 9.996 MB / 0.8024 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009467/0.8215, allocations: 1.207 MB / 0.8036 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001802/0.8233, allocations: 381.2 kB / 0.8039 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007841/0.8241, allocations: 0.5781 MB / 0.8045 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of SimCode: time 6.11e-07/0.8241, allocations: 0 / 0.8045 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1832/1.007, allocations: 33.44 MB / 0.8372 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/1.008, allocations: 282.4 kB / 0.8374 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.799/3.806, allocations: 1.094 kB / 0.8374 GB, free: 11.7 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/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)