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/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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005053/0.005053, allocations: 103 kB / 15.73 MB, free: 6.059 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.001186/0.001186, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 300.2 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.9139/0.9139, allocations: 169.3 MB / 0.4983 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.00204, allocations: 96.22 kB / 0.6809 GB, free: 7.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4792, allocations: 86.98 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.003376/0.4827, allocations: 1.756 MB / 0.7676 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.484, allocations: 0.7379 MB / 0.7683 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.4842, allocations: 4 kB / 0.7683 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.156e-05/0.4842, allocations: 11.86 kB / 0.7683 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.4844, allocations: 15.8 kB / 0.7683 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.4849, allocations: 110.4 kB / 0.7684 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.4851, allocations: 139.5 kB / 0.7686 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.4853, allocations: 41.42 kB / 0.7686 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.4854, allocations: 55.77 kB / 0.7687 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001289/0.4856, allocations: 59.77 kB / 0.7687 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.4856, allocations: 8 kB / 0.7687 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.4858, allocations: 71.94 kB / 0.7688 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.4859, allocations: 27.91 kB / 0.7688 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.486, allocations: 63.64 kB / 0.7689 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.4863, allocations: 171.4 kB / 0.7691 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4863, allocations: 0 / 0.7691 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4863, allocations: 4 kB / 0.7691 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.4863, allocations: 3.984 kB / 0.7691 GB, free: 0.5547 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.0007622/0.4871, allocations: 451 kB / 0.7695 GB, free: 68 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4871, allocations: 8.031 kB / 0.7695 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.274e-05/0.4872, allocations: 50.73 kB / 0.7695 GB, free: 0 / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.16e-05/0.4873, allocations: 13.02 kB / 0.7696 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.4874, allocations: 192 kB / 0.7697 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.4875, allocations: 67.95 kB / 0.7698 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.4876, allocations: 12.38 kB / 0.7698 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.4879, allocations: 128 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4879, allocations: 0 / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.4879, allocations: 11.98 kB / 0.77 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4879, allocations: 0 / 0.77 GB, free: 15.53 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003084/0.4882, allocations: 119.9 kB / 0.7701 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007455/0.489, allocations: 448.2 kB / 0.7705 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.4892, allocations: 82.47 kB / 0.7706 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.4894, allocations: 60.83 kB / 0.7706 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/0.4899, allocations: 315.2 kB / 0.7709 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.49, allocations: 34.56 kB / 0.771 GB, free: 14.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.49, allocations: 0 / 0.771 GB, free: 14.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.001368/0.4913, allocations: 383.5 kB / 0.7713 GB, free: 13.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.4914, allocations: 59.72 kB / 0.7714 GB, free: 13.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.4916, allocations: 172 kB / 0.7716 GB, free: 13.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.4916, allocations: 29.7 kB / 0.7716 GB, free: 13.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.4917, allocations: 123.8 kB / 0.7717 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.4917, allocations: 35.48 kB / 0.7717 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.4918, allocations: 29.7 kB / 0.7718 GB, free: 13.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.4919, allocations: 326.8 kB / 0.7721 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.492, allocations: 47.97 kB / 0.7721 GB, free: 13.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.4922, allocations: 47.97 kB / 0.7722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.4924, allocations: 112.3 kB / 0.7723 GB, free: 12.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4924, allocations: 0 / 0.7723 GB, free: 12.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006077/0.4931, allocations: 222.3 kB / 0.7725 GB, free: 12.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4931, allocations: 11.98 kB / 0.7725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4931, allocations: 0 / 0.7725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004714/0.4936, allocations: 68.73 kB / 0.7726 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.4937, allocations: 23.98 kB / 0.7726 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.496, allocations: 1.767 MB / 0.7743 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.4962, allocations: 23.81 kB / 0.7743 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.4962, allocations: 7.984 kB / 0.7743 GB, free: 10.68 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 (10): * Single equations (assignments): 9 * 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 9.918e-05/0.4963, allocations: 114.6 kB / 0.7744 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.4964, allocations: 11.81 kB / 0.7745 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/0.497, allocations: 219.7 kB / 0.7747 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.497, allocations: 0 / 0.7747 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.497, allocations: 0 / 0.7747 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4971, allocations: 4 kB / 0.7747 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008645/0.4979, allocations: 492 kB / 0.7751 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.4979, allocations: 0 / 0.7751 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.072e-05/0.498, allocations: 15.92 kB / 0.7752 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003406/0.4984, allocations: 72.83 kB / 0.7752 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4984, allocations: 0 / 0.7752 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.5003, allocations: 1.76 MB / 0.7769 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5003, allocations: 0 / 0.7769 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.5009, allocations: 301.1 kB / 0.7772 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.501, allocations: 96.8 kB / 0.7773 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.501, allocations: 7.938 kB / 0.7773 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.5011, allocations: 11.98 kB / 0.7773 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.5012, allocations: 15.92 kB / 0.7774 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.5012, allocations: 4 kB / 0.7774 GB, free: 7.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.962e-05/0.5013, allocations: 133.7 kB / 0.7775 GB, free: 7.191 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5013, allocations: 0 / 0.7775 GB, free: 7.191 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004076/0.5017, allocations: 48 kB / 0.7775 GB, free: 7.145 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 (6): * Single equations (assignments): 5 * 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.001005/0.5027, allocations: 0.866 MB / 0.7784 GB, free: 6.242 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006399/0.5034, allocations: 246.5 kB / 0.7786 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5034, allocations: 0 / 0.7786 GB, free: 5.988 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.5038, allocations: 190.7 kB / 0.7788 GB, free: 5.789 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.5041, allocations: 18.17 kB / 0.7788 GB, free: 5.773 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.5069, allocations: 1.973 MB / 0.7807 GB, free: 3.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.5072, allocations: 0.7045 MB / 0.7814 GB, free: 2.977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.679e-05/0.5073, allocations: 16.53 kB / 0.7814 GB, free: 2.961 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.5074, allocations: 31.42 kB / 0.7815 GB, free: 2.93 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.5074, allocations: 0 / 0.7815 GB, free: 2.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02758/0.535, allocations: 4.262 MB / 0.7856 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.15, allocations: 10.75 kB / 0.7856 GB, free: 14.91 MB / 0.5606 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/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)