Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.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.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic",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.8135/0.8135, allocations: 141.8 MB / 149.3 MB, free: 9.188 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.001049/0.001049, allocations: 184.8 kB / 182.2 MB, free: 9.418 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.35/1.35, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009267/0.000927, allocations: 93.78 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001796, allocations: 290.5 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.964e-05, allocations: 4 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3569, allocations: 82.77 MB / 0.7575 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.4857, allocations: 109.7 MB / 0.8646 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/0.486, allocations: 79.94 kB / 0.8646 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009445/0.4954, allocations: 3.108 MB / 0.8677 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4955, allocations: 0 / 0.8677 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.4955, allocations: 4 kB / 0.8677 GB, free: 14.93 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006344/0.4961, allocations: 442.3 kB / 0.8681 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.4962, allocations: 11.97 kB / 0.8681 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.4963, allocations: 11.91 kB / 0.8681 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.4964, allocations: 186.8 kB / 0.8683 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.4965, allocations: 67.39 kB / 0.8684 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.4966, allocations: 4 kB / 0.8684 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001957/0.4968, allocations: 91.98 kB / 0.8685 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.4969, allocations: 95.19 kB / 0.8686 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.497, allocations: 3.938 kB / 0.8686 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.497, allocations: 0 / 0.8686 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.497, allocations: 4 kB / 0.8686 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.4977, allocations: 412.9 kB / 0.869 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.4978, allocations: 58.58 kB / 0.869 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.613e-05/0.4979, allocations: 44.86 kB / 0.8691 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005337/0.4984, allocations: 315.2 kB / 0.8694 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.4984, allocations: 34.56 kB / 0.8694 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.4984, allocations: 0 / 0.8694 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0007226/0.4992, allocations: 190.5 kB / 0.8696 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.4992, allocations: 51.41 kB / 0.8696 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.4994, allocations: 138.6 kB / 0.8698 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.4994, allocations: 25.7 kB / 0.8698 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.315e-05/0.4994, allocations: 120 kB / 0.8699 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.4995, allocations: 31.55 kB / 0.8699 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/0.4995, allocations: 0 / 0.8699 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4996, allocations: 318.8 kB / 0.8702 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.086e-05/0.4997, allocations: 35.98 kB / 0.8703 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.717e-05/0.4997, allocations: 33.75 kB / 0.8703 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.4999, allocations: 59.95 kB / 0.8703 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.5, allocations: 0 / 0.8703 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006157/0.5006, allocations: 215.8 kB / 0.8706 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5006, allocations: 11.95 kB / 0.8706 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5006, allocations: 0 / 0.8706 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/0.5011, allocations: 72.78 kB / 0.8706 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.5012, allocations: 19.98 kB / 0.8707 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/0.5028, allocations: 1.49 MB / 0.8721 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.503, allocations: 16.08 kB / 0.8721 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.503, allocations: 4.094 kB / 0.8721 GB, free: 9.98 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 (10): * Single equations (assignments): 9 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 8.503e-05/0.5031, allocations: 108.9 kB / 0.8722 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006262/0.5037, allocations: 190.3 kB / 0.8724 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.463e-05/0.5038, allocations: 11.81 kB / 0.8724 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006467/0.5044, allocations: 210.9 kB / 0.8726 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5044, allocations: 0 / 0.8726 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5044, allocations: 4 kB / 0.8726 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5044, allocations: 0 / 0.8726 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008403/0.5053, allocations: 456.5 kB / 0.8731 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5053, allocations: 0 / 0.8731 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.5054, allocations: 15.98 kB / 0.8731 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/0.5058, allocations: 72.97 kB / 0.8731 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.5058, allocations: 4 kB / 0.8732 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.5073, allocations: 1.486 MB / 0.8746 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5074, allocations: 2.812 kB / 0.8746 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.508, allocations: 306.9 kB / 0.8749 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.5081, allocations: 88.95 kB / 0.875 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.5081, allocations: 4.031 kB / 0.875 GB, free: 6.812 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5083, allocations: 15.92 kB / 0.875 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.5083, allocations: 19.92 kB / 0.875 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.5083, allocations: 0 / 0.875 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.962e-05/0.5084, allocations: 108.9 kB / 0.8751 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5084, allocations: 4 kB / 0.8751 GB, free: 6.668 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003874/0.5088, allocations: 51.94 kB / 0.8752 GB, free: 6.617 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001002/0.5098, allocations: 0.9327 MB / 0.8761 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004742/0.5103, allocations: 213.8 kB / 0.8763 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5103, allocations: 4 kB / 0.8763 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.5106, allocations: 165.7 kB / 0.8765 GB, free: 5.254 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.5108, allocations: 4 kB / 0.8765 GB, free: 5.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005278/0.5114, allocations: 199.5 kB / 0.8766 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.5117, allocations: 0.708 MB / 0.8773 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.119e-05/0.5117, allocations: 8.672 kB / 0.8773 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.5118, allocations: 31.42 kB / 0.8774 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.5118, allocations: 0 / 0.8774 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.5332, allocations: 2.926 MB / 0.8802 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/0.5334, allocations: 185.4 kB / 0.8804 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.08, allocations: 0 / 0.8804 GB, free: 1.152 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic.fmu > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe 2>&1)