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.005023/0.005023, allocations: 96.42 kB / 15.73 MB, free: 5.988 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.00108/0.001081, allocations: 187.6 kB / 16.67 MB, free: 5.918 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002101/0.002101, allocations: 286.5 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9437/0.9437, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001754, allocations: 91.86 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1676, allocations: 86.98 MB / 0.7664 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.002916/0.1706, allocations: 1.664 MB / 0.768 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1717, allocations: 0.604 MB / 0.7686 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.1718, allocations: 4 kB / 0.7686 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.893e-05/0.1718, allocations: 7.875 kB / 0.7686 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003477/0.1722, allocations: 47.69 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1725, allocations: 95.7 kB / 0.7687 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1726, allocations: 107.7 kB / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1728, allocations: 39.94 kB / 0.7689 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.054e-05/0.1729, allocations: 39.86 kB / 0.7689 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.173, allocations: 51.77 kB / 0.769 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.495e-05/0.173, allocations: 8 kB / 0.769 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002362/0.1732, allocations: 103.9 kB / 0.7691 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.1733, allocations: 31.89 kB / 0.7691 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.1733, allocations: 43.73 kB / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003212/0.1737, allocations: 171.4 kB / 0.7693 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1737, allocations: 3.938 kB / 0.7693 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1737, allocations: 4 kB / 0.7693 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.1737, allocations: 4 kB / 0.7693 GB, free: 5.449 MB / 0.5606 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.0006805/0.1744, allocations: 438.8 kB / 0.7697 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1744, allocations: 8.031 kB / 0.7697 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.1745, allocations: 12.89 kB / 0.7697 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.1747, allocations: 184.2 kB / 0.7699 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.784e-05/0.1748, allocations: 63.97 kB / 0.77 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.1748, allocations: 8.375 kB / 0.77 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.175, allocations: 113.3 kB / 0.7701 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1751, allocations: 3.938 kB / 0.7701 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.1751, allocations: 8 kB / 0.7701 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1751, allocations: 0 / 0.7701 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.1753, allocations: 99.88 kB / 0.7702 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006445/0.176, allocations: 444.2 kB / 0.7706 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.1762, allocations: 78.64 kB / 0.7707 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1763, allocations: 40.88 kB / 0.7707 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000547/0.1769, allocations: 307.2 kB / 0.771 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1769, allocations: 38.5 kB / 0.7711 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1769, allocations: 4 kB / 0.7711 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.001209/0.1781, allocations: 327.3 kB / 0.7714 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.1782, allocations: 51.41 kB / 0.7714 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1784, allocations: 174.2 kB / 0.7716 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.1784, allocations: 25.7 kB / 0.7716 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.188e-05/0.1785, allocations: 112 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1785, allocations: 23.84 kB / 0.7718 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.1785, allocations: 25.67 kB / 0.7718 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1787, allocations: 322.8 kB / 0.7721 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.377e-05/0.1788, allocations: 39.92 kB / 0.7721 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.488e-05/0.1789, allocations: 39.97 kB / 0.7722 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.179, allocations: 73.06 kB / 0.7722 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.179, allocations: 0 / 0.7722 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004993/0.1796, allocations: 186.2 kB / 0.7724 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.1796, allocations: 8 kB / 0.7724 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1796, allocations: 4 kB / 0.7724 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/0.18, allocations: 68.72 kB / 0.7725 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.142e-05/0.1801, allocations: 12 kB / 0.7725 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3364/0.5165, allocations: 1.767 MB / 0.7742 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.5166, allocations: 21.53 kB / 0.7742 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.5167, allocations: 5.062 kB / 0.7743 GB, free: 14.28 MB / 0.5606 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 7.446e-05/0.5167, allocations: 117.1 kB / 0.7744 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.5168, allocations: 11.67 kB / 0.7744 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005686/0.5174, allocations: 170.1 kB / 0.7745 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5174, allocations: 0.875 kB / 0.7745 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.5174, allocations: 3.406 kB / 0.7745 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5174, allocations: 0.5625 kB / 0.7745 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006986/0.5181, allocations: 448.1 kB / 0.775 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5181, allocations: 0.8125 kB / 0.775 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.5182, allocations: 7.266 kB / 0.775 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000368/0.5185, allocations: 74.75 kB / 0.775 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.5186, allocations: 2.375 kB / 0.7751 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.5202, allocations: 1.764 MB / 0.7768 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5202, allocations: 2.75 kB / 0.7768 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.5207, allocations: 267 kB / 0.777 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.67e-05/0.5207, allocations: 88.69 kB / 0.7771 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.5207, allocations: 2.203 kB / 0.7771 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.665e-05/0.5208, allocations: 7 kB / 0.7771 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.56e-05/0.5209, allocations: 15.41 kB / 0.7771 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.5209, allocations: 2.625 kB / 0.7771 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.547e-05/0.521, allocations: 123 kB / 0.7773 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.521, allocations: 1.531 kB / 0.7773 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004089/0.5214, allocations: 61.92 kB / 0.7773 GB, free: 12.01 MB / 0.5606 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.000211/0.5216, allocations: 147.2 kB / 0.7775 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005104/0.5221, allocations: 216.3 kB / 0.7777 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5221, allocations: 0 / 0.7777 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.5224, allocations: 170.8 kB / 0.7778 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.5227, allocations: 18.73 kB / 0.7778 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/0.5232, allocations: 242.1 kB / 0.7781 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.5233, allocations: 0.6984 MB / 0.7788 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.178e-05/0.5234, allocations: 13.3 kB / 0.7788 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.5234, allocations: 13.14 kB / 0.7788 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.5234, allocations: 0 / 0.7788 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.005504/0.5289, allocations: 2.461 MB / 0.7812 GB, free: 10.77 MB / 0.5606 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)