Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static") translateModel(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004647/0.004647, allocations: 103.5 kB / 15.74 MB, free: 6.039 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.001106/0.001106, allocations: 198.1 kB / 16.68 MB, free: 5.953 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.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002117, allocations: 294.5 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9295/0.9295, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 91.84 kB / 0.6814 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4201, allocations: 86.98 MB / 0.7664 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.002795/0.4229, allocations: 1.674 MB / 0.768 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009633/0.4239, allocations: 0.5936 MB / 0.7686 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.424, allocations: 0 / 0.7686 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.267e-05/0.4241, allocations: 11.88 kB / 0.7686 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002904/0.4244, allocations: 39.7 kB / 0.7686 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.4246, allocations: 99.69 kB / 0.7687 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.4248, allocations: 111.6 kB / 0.7688 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.4249, allocations: 31.62 kB / 0.7688 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.685e-05/0.425, allocations: 39.86 kB / 0.7689 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.4251, allocations: 59.69 kB / 0.7689 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.4252, allocations: 8 kB / 0.769 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.4254, allocations: 99.92 kB / 0.769 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.4254, allocations: 27.91 kB / 0.7691 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.4255, allocations: 47.78 kB / 0.7691 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.4257, allocations: 170 kB / 0.7693 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4258, allocations: 4 kB / 0.7693 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4258, allocations: 0 / 0.7693 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.4258, allocations: 0 / 0.7693 GB, free: 0.875 MB / 0.5294 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.0005998/0.4264, allocations: 439.1 kB / 0.7697 GB, free: 404 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4264, allocations: 11.97 kB / 0.7697 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.4265, allocations: 16.75 kB / 0.7697 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.4266, allocations: 176.3 kB / 0.7699 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.4267, allocations: 63.97 kB / 0.77 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.4268, allocations: 8.375 kB / 0.77 GB, free: 76 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.427, allocations: 120.6 kB / 0.7701 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.427, allocations: 3.938 kB / 0.7701 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.4271, allocations: 8 kB / 0.7701 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.4271, allocations: 3.984 kB / 0.7701 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.4273, allocations: 91.95 kB / 0.7702 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.428, allocations: 436 kB / 0.7706 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.4282, allocations: 86.67 kB / 0.7707 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.499e-05/0.4283, allocations: 36.84 kB / 0.7707 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005617/0.4289, allocations: 307.2 kB / 0.771 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4289, allocations: 46.42 kB / 0.7711 GB, free: 14.83 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.429, allocations: 0 / 0.7711 GB, free: 14.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.001225/0.4302, allocations: 331.5 kB / 0.7714 GB, free: 14.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.4303, allocations: 51.41 kB / 0.7714 GB, free: 14.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.4304, allocations: 173.5 kB / 0.7716 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.4304, allocations: 25.7 kB / 0.7716 GB, free: 14.21 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.4305, allocations: 107.9 kB / 0.7717 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.4306, allocations: 27.64 kB / 0.7717 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.4306, allocations: 25.72 kB / 0.7718 GB, free: 14.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4307, allocations: 330.8 kB / 0.7721 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.4308, allocations: 31.97 kB / 0.7721 GB, free: 13.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.852e-05/0.4309, allocations: 31.98 kB / 0.7721 GB, free: 13.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.4311, allocations: 72.84 kB / 0.7722 GB, free: 13.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4311, allocations: 0 / 0.7722 GB, free: 13.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000487/0.4316, allocations: 186.2 kB / 0.7724 GB, free: 13.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4316, allocations: 4 kB / 0.7724 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4316, allocations: 7.984 kB / 0.7724 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004207/0.4321, allocations: 72.73 kB / 0.7725 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.4322, allocations: 19.94 kB / 0.7725 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.4343, allocations: 1.763 MB / 0.7742 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.153e-05/0.4344, allocations: 15.81 kB / 0.7742 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.4344, allocations: 11.98 kB / 0.7742 GB, free: 11.34 MB / 0.545 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 8.84e-05/0.4345, allocations: 125.8 kB / 0.7744 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.4345, allocations: 7.906 kB / 0.7744 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.435, allocations: 175 kB / 0.7745 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4351, allocations: 0 / 0.7745 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.4351, allocations: 4 kB / 0.7745 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4351, allocations: 0 / 0.7745 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007015/0.4358, allocations: 440 kB / 0.775 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4358, allocations: 4.031 kB / 0.775 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.4358, allocations: 4 kB / 0.775 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003261/0.4362, allocations: 68.78 kB / 0.775 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4362, allocations: 4 kB / 0.775 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.438, allocations: 1.763 MB / 0.7768 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.438, allocations: 4.031 kB / 0.7768 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005052/0.4385, allocations: 265 kB / 0.777 GB, free: 8.258 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/0.4385, allocations: 81.02 kB / 0.7771 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.4386, allocations: 11.94 kB / 0.7771 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.4387, allocations: 3.984 kB / 0.7771 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.4387, allocations: 8 kB / 0.7771 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.4387, allocations: 7.984 kB / 0.7771 GB, free: 8.129 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.93e-05/0.4388, allocations: 123.2 kB / 0.7772 GB, free: 8.008 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4388, allocations: 4 kB / 0.7772 GB, free: 8.004 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003862/0.4392, allocations: 51.94 kB / 0.7773 GB, free: 7.953 MB / 0.545 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002032/0.4394, allocations: 163.1 kB / 0.7774 GB, free: 7.785 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005087/0.44, allocations: 214.5 kB / 0.7776 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.44, allocations: 0 / 0.7776 GB, free: 7.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.4403, allocations: 166.7 kB / 0.7778 GB, free: 7.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.4406, allocations: 17.86 kB / 0.7778 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.4411, allocations: 240.4 kB / 0.7781 GB, free: 7.105 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.4413, allocations: 0.6967 MB / 0.7787 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.231e-05/0.4414, allocations: 13.05 kB / 0.7787 GB, free: 6.367 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.4414, allocations: 11.44 kB / 0.7788 GB, free: 6.355 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.4414, allocations: 3.938 kB / 0.7788 GB, free: 6.352 MB / 0.545 GB Notification: Performance of Templates: time 0.00483/0.4463, allocations: 2.459 MB / 0.7812 GB, free: 3.941 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.sim & ./BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe 2>&1)