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.003919/0.003919, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001021/0.001021, allocations: 195.1 kB / 16.67 MB, free: 5.969 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.199/1.199, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 281.5 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8594/0.8594, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 95.84 kB / 0.6809 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3491, allocations: 86.97 MB / 0.7659 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.002386/0.3515, allocations: 1.76 MB / 0.7676 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009617/0.3525, allocations: 0.7379 MB / 0.7683 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.3526, allocations: 0 / 0.7683 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.3526, allocations: 11.88 kB / 0.7683 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.789e-05/0.3527, allocations: 23.72 kB / 0.7683 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.353, allocations: 103.7 kB / 0.7684 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.3532, allocations: 135.5 kB / 0.7686 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3533, allocations: 33.22 kB / 0.7686 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.3534, allocations: 63.72 kB / 0.7687 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.361e-05/0.3535, allocations: 67.73 kB / 0.7687 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.3535, allocations: 12 kB / 0.7687 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3537, allocations: 71.94 kB / 0.7688 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.3537, allocations: 27.91 kB / 0.7688 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.3538, allocations: 55.67 kB / 0.7689 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.354, allocations: 172.6 kB / 0.7691 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.354, allocations: 0 / 0.7691 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.354, allocations: 0 / 0.7691 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.354, allocations: 0 / 0.7691 GB, free: 0.5703 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.0006288/0.3547, allocations: 462.7 kB / 0.7695 GB, free: 72 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3547, allocations: 12.03 kB / 0.7695 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/0.3548, allocations: 46.73 kB / 0.7696 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.3548, allocations: 16.89 kB / 0.7696 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3549, allocations: 179.2 kB / 0.7697 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.271e-05/0.355, allocations: 67.91 kB / 0.7698 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.3551, allocations: 12.38 kB / 0.7698 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.3553, allocations: 131.9 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3554, allocations: 0 / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3554, allocations: 7.938 kB / 0.77 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3554, allocations: 7.984 kB / 0.77 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.3557, allocations: 119.9 kB / 0.7701 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006231/0.3563, allocations: 464.2 kB / 0.7705 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.3565, allocations: 78.53 kB / 0.7706 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.3567, allocations: 56.83 kB / 0.7706 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004846/0.3572, allocations: 315.2 kB / 0.7709 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.3572, allocations: 42.73 kB / 0.771 GB, free: 14.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 2.345e-06/0.3572, allocations: 0 / 0.771 GB, free: 14.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.001303/0.3585, allocations: 387.2 kB / 0.7714 GB, free: 13.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.3585, allocations: 59.34 kB / 0.7714 GB, free: 13.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.3587, allocations: 172.1 kB / 0.7716 GB, free: 13.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3587, allocations: 29.7 kB / 0.7716 GB, free: 13.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.3588, allocations: 112 kB / 0.7717 GB, free: 13.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3588, allocations: 31.73 kB / 0.7717 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.3589, allocations: 33.7 kB / 0.7718 GB, free: 13.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.359, allocations: 326.8 kB / 0.7721 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.3591, allocations: 51.97 kB / 0.7721 GB, free: 13.11 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.3592, allocations: 51.22 kB / 0.7722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.3595, allocations: 108.8 kB / 0.7723 GB, free: 12.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3595, allocations: 0 / 0.7723 GB, free: 12.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005816/0.3601, allocations: 214.3 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3601, allocations: 8 kB / 0.7725 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3601, allocations: 0 / 0.7725 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/0.3605, allocations: 80.66 kB / 0.7726 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.3607, allocations: 19.98 kB / 0.7726 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001875/0.3625, allocations: 1.768 MB / 0.7743 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.3627, allocations: 15.92 kB / 0.7743 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.3627, allocations: 8 kB / 0.7743 GB, free: 10.69 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 7.649e-05/0.3628, allocations: 125.8 kB / 0.7745 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.3628, allocations: 11.91 kB / 0.7745 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006125/0.3634, allocations: 219.6 kB / 0.7747 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3635, allocations: 0 / 0.7747 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.41e-07/0.3635, allocations: 0 / 0.7747 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3635, allocations: 0 / 0.7747 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007879/0.3643, allocations: 488 kB / 0.7752 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3643, allocations: 4 kB / 0.7752 GB, free: 9.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.373e-05/0.3644, allocations: 15.98 kB / 0.7752 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003335/0.3647, allocations: 80.8 kB / 0.7752 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.3647, allocations: 0 / 0.7752 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.3664, allocations: 1.767 MB / 0.777 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3664, allocations: 0 / 0.777 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005856/0.367, allocations: 301 kB / 0.7773 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.488e-05/0.3671, allocations: 93.02 kB / 0.7773 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.3671, allocations: 7.938 kB / 0.7774 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.3672, allocations: 7.984 kB / 0.7774 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.3673, allocations: 11.98 kB / 0.7774 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.3673, allocations: 8 kB / 0.7774 GB, free: 7.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.946e-05/0.3674, allocations: 129.8 kB / 0.7775 GB, free: 7.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3674, allocations: 0 / 0.7775 GB, free: 7.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003576/0.3678, allocations: 55.86 kB / 0.7776 GB, free: 7.133 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.0008711/0.3686, allocations: 0.8624 MB / 0.7784 GB, free: 6.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005892/0.3692, allocations: 250.5 kB / 0.7786 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3693, allocations: 0 / 0.7786 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.3696, allocations: 190.6 kB / 0.7788 GB, free: 5.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.3699, allocations: 19.06 kB / 0.7788 GB, free: 5.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.3724, allocations: 1.976 MB / 0.7808 GB, free: 3.695 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.3726, allocations: 0.7045 MB / 0.7815 GB, free: 2.965 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.077e-05/0.3726, allocations: 16.77 kB / 0.7815 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.3727, allocations: 39.36 kB / 0.7815 GB, free: 2.91 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.3727, allocations: 0 / 0.7815 GB, free: 2.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.3938, allocations: 4.178 MB / 0.7856 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.74/10.13, allocations: 11.06 kB / 0.7856 GB, free: 14.97 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 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)