Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7784/0.7784, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 179.9 kB / 182.2 MB, free: 9.469 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000862/0.000862, allocations: 91.98 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001706, allocations: 271 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.72e-05/1.731e-05, allocations: 0 / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4117, allocations: 82.78 MB / 0.7575 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.5537, allocations: 110 MB / 0.8648 GB, free: 1.863 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.554, allocations: 87.94 kB / 0.8649 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01149/0.5655, allocations: 4.839 MB / 0.8696 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5656, allocations: 0 / 0.8696 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.5656, allocations: 4 kB / 0.8697 GB, free: 12.85 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000485/0.5661, allocations: 434.8 kB / 0.8701 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5661, allocations: 12.03 kB / 0.8701 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.5662, allocations: 23.7 kB / 0.8701 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.5663, allocations: 210.6 kB / 0.8703 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.5664, allocations: 0 / 0.8703 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.5664, allocations: 4 kB / 0.8703 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001132/0.5665, allocations: 39.97 kB / 0.8703 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.348e-05/0.5666, allocations: 57.61 kB / 0.8704 GB, free: 12 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.5666, allocations: 0 / 0.8704 GB, free: 12 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5666, allocations: 0 / 0.8704 GB, free: 12 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.5666, allocations: 3.984 kB / 0.8704 GB, free: 12 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.5672, allocations: 321.4 kB / 0.8707 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.24e-05/0.5673, allocations: 58.53 kB / 0.8708 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.5673, allocations: 24.91 kB / 0.8708 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.461e-05/0.5674, allocations: 12 kB / 0.8708 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.5674, allocations: 30.56 kB / 0.8708 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5674, allocations: 4 kB / 0.8708 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002476/0.5677, allocations: 97.31 kB / 0.8709 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.5677, allocations: 51.41 kB / 0.871 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.5679, allocations: 214.3 kB / 0.8712 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.568, allocations: 29.64 kB / 0.8712 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.5681, allocations: 144 kB / 0.8713 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.5681, allocations: 3.906 kB / 0.8713 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.5681, allocations: 0 / 0.8713 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5683, allocations: 334.8 kB / 0.8717 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-05/0.5683, allocations: 23.97 kB / 0.8717 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.015e-05/0.5683, allocations: 23.98 kB / 0.8717 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.317e-05/0.5684, allocations: 19.98 kB / 0.8717 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5684, allocations: 0 / 0.8717 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001325/0.5686, allocations: 89.47 kB / 0.8718 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.5686, allocations: 4 kB / 0.8718 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.5686, allocations: 8 kB / 0.8718 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.5686, allocations: 4.031 kB / 0.8718 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.5687, allocations: 15.94 kB / 0.8718 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5687, allocations: 3.984 kB / 0.8719 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/0.5688, allocations: 8 kB / 0.8719 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.5688, allocations: 4 kB / 0.8719 GB, free: 10.38 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.066e-05/0.5689, allocations: 108.9 kB / 0.872 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001433/0.5691, allocations: 93.38 kB / 0.8721 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.5691, allocations: 19.84 kB / 0.8721 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.5693, allocations: 112 kB / 0.8722 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5693, allocations: 0 / 0.8722 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5694, allocations: 4 kB / 0.8722 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5694, allocations: 0 / 0.8722 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.5696, allocations: 198.1 kB / 0.8724 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5696, allocations: 0 / 0.8724 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.5697, allocations: 8 kB / 0.8724 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5697, allocations: 8.016 kB / 0.8724 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.5697, allocations: 0 / 0.8724 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5697, allocations: 4 kB / 0.8724 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5697, allocations: 0 / 0.8724 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.5699, allocations: 195.2 kB / 0.8726 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.57, allocations: 88.92 kB / 0.8727 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.57, allocations: 0 / 0.8727 GB, free: 9.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.946e-05/0.5701, allocations: 12.03 kB / 0.8727 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.5701, allocations: 3.984 kB / 0.8727 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.5701, allocations: 4 kB / 0.8727 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001612/0.5703, allocations: 178 kB / 0.8729 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5703, allocations: 3.938 kB / 0.8729 GB, free: 9.273 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002588/0.5706, allocations: 39.94 kB / 0.8729 GB, free: 9.234 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006184/0.5712, allocations: 0.7707 MB / 0.8736 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.5713, allocations: 35.98 kB / 0.8737 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5713, allocations: 8.031 kB / 0.8737 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.488e-05/0.5714, allocations: 27.92 kB / 0.8737 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.5717, allocations: 30.97 kB / 0.8737 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005623/0.5723, allocations: 282.8 kB / 0.874 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.5726, allocations: 0.7431 MB / 0.8747 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.24e-05/0.5727, allocations: 4.891 kB / 0.8747 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.143e-05/0.5728, allocations: 47.42 kB / 0.8748 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.5728, allocations: 0 / 0.8748 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.5955, allocations: 3.361 MB / 0.8781 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/0.5958, allocations: 170.4 kB / 0.8782 GB, free: 3.672 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.346, allocations: 0 / 0.8782 GB, free: 3.672 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)