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.001162/0.001169, allocations: 110.5 kB / 16.37 MB, free: 6.477 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.001474/0.001474, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.584/1.584, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002179/0.002179, allocations: 281.8 kB / 291.4 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9716/0.9716, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 95.52 kB / 0.5967 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2194, allocations: 86.97 MB / 0.6816 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.003393/0.2228, allocations: 1.661 MB / 0.6832 GB, free: 5.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.224, allocations: 0.6003 MB / 0.6838 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.224, allocations: 4 kB / 0.6838 GB, free: 5.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.929e-05/0.2241, allocations: 11.86 kB / 0.6838 GB, free: 5.219 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.2244, allocations: 39.7 kB / 0.6839 GB, free: 5.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.2247, allocations: 95.69 kB / 0.684 GB, free: 5.086 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.2248, allocations: 111.6 kB / 0.6841 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.225, allocations: 39.89 kB / 0.6841 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.225, allocations: 39.86 kB / 0.6841 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.2251, allocations: 51.81 kB / 0.6842 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.2252, allocations: 8 kB / 0.6842 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002073/0.2254, allocations: 95.92 kB / 0.6843 GB, free: 4.746 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.2254, allocations: 23.92 kB / 0.6843 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.724e-05/0.2255, allocations: 51.72 kB / 0.6844 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.2258, allocations: 171.5 kB / 0.6845 GB, free: 4.504 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2258, allocations: 4 kB / 0.6845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2258, allocations: 0 / 0.6845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2258, allocations: 0 / 0.6845 GB, free: 4.5 MB / 494.1 MB 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.0006811/0.2265, allocations: 431.2 kB / 0.6849 GB, free: 4.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.2266, allocations: 11.97 kB / 0.6849 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.2266, allocations: 12.84 kB / 0.685 GB, free: 4.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.2268, allocations: 188.1 kB / 0.6851 GB, free: 3.781 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.2269, allocations: 75.88 kB / 0.6852 GB, free: 3.695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.2269, allocations: 8.375 kB / 0.6852 GB, free: 3.688 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.2272, allocations: 117.9 kB / 0.6853 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.2272, allocations: 3.938 kB / 0.6853 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.2272, allocations: 8 kB / 0.6853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2272, allocations: 0 / 0.6853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.2275, allocations: 95.94 kB / 0.6854 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006787/0.2281, allocations: 436.2 kB / 0.6858 GB, free: 2.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.2284, allocations: 78.64 kB / 0.6859 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.2285, allocations: 48.88 kB / 0.686 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005513/0.229, allocations: 307.2 kB / 0.6863 GB, free: 2.496 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.2291, allocations: 42.44 kB / 0.6863 GB, free: 2.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.2291, allocations: 0 / 0.6863 GB, free: 2.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001251/0.2303, allocations: 327.4 kB / 0.6866 GB, free: 2.098 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.2304, allocations: 59.28 kB / 0.6867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2306, allocations: 166.4 kB / 0.6868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.2306, allocations: 25.7 kB / 0.6869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.2307, allocations: 115.9 kB / 0.687 GB, free: 1.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.2307, allocations: 23.7 kB / 0.687 GB, free: 1.684 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.2308, allocations: 25.72 kB / 0.687 GB, free: 1.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2309, allocations: 326.8 kB / 0.6873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/0.231, allocations: 31.98 kB / 0.6874 GB, free: 1.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.991e-05/0.2311, allocations: 35.92 kB / 0.6874 GB, free: 1.258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.2313, allocations: 76.83 kB / 0.6875 GB, free: 1.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2313, allocations: 0 / 0.6875 GB, free: 1.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004729/0.2318, allocations: 178.5 kB / 0.6876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2318, allocations: 10.34 kB / 0.6876 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2318, allocations: 0 / 0.6876 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/0.2323, allocations: 72.73 kB / 0.6877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.2324, allocations: 15.98 kB / 0.6877 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4527/0.6851, allocations: 1.76 MB / 0.6894 GB, free: 16.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.6853, allocations: 19.56 kB / 0.6895 GB, free: 16.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.6853, allocations: 6.078 kB / 0.6895 GB, free: 16.83 MB / 494.1 MB 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 0.00011/0.6854, allocations: 119.6 kB / 0.6896 GB, free: 16.72 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.6855, allocations: 10.62 kB / 0.6896 GB, free: 16.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006445/0.6861, allocations: 169.1 kB / 0.6898 GB, free: 16.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.6861, allocations: 5.375 kB / 0.6898 GB, free: 16.67 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.6862, allocations: 1.875 kB / 0.6898 GB, free: 16.67 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.6862, allocations: 0.5625 kB / 0.6898 GB, free: 16.67 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007945/0.687, allocations: 451.9 kB / 0.6902 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.687, allocations: 4.438 kB / 0.6902 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.687, allocations: 6.766 kB / 0.6902 GB, free: 16.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003827/0.6874, allocations: 68.94 kB / 0.6903 GB, free: 16.35 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.6874, allocations: 2.109 kB / 0.6903 GB, free: 16.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.6892, allocations: 1.757 MB / 0.692 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6893, allocations: 3.375 kB / 0.692 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.6898, allocations: 269.2 kB / 0.6923 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.6899, allocations: 85.67 kB / 0.6923 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.6899, allocations: 2.734 kB / 0.6923 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.635e-05/0.69, allocations: 4.891 kB / 0.6923 GB, free: 14.62 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.42e-05/0.6901, allocations: 16.55 kB / 0.6924 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.6901, allocations: 3.031 kB / 0.6924 GB, free: 14.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001253/0.6902, allocations: 127.2 kB / 0.6925 GB, free: 14.54 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6902, allocations: 0 / 0.6925 GB, free: 14.54 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004632/0.6907, allocations: 58.72 kB / 0.6925 GB, free: 14.54 MB / 494.1 MB 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.0003234/0.691, allocations: 144.2 kB / 0.6927 GB, free: 14.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.6917, allocations: 217.4 kB / 0.6929 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6917, allocations: 0 / 0.6929 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.692, allocations: 167 kB / 0.693 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.6924, allocations: 19.61 kB / 0.6931 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/0.693, allocations: 247.1 kB / 0.6933 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000179/0.6932, allocations: 0.6993 MB / 0.694 GB, free: 13.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.679e-05/0.6932, allocations: 15.58 kB / 0.694 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.6933, allocations: 13 kB / 0.694 GB, free: 13.38 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6933, allocations: 1.438 kB / 0.694 GB, free: 13.38 MB / 494.1 MB Notification: Performance of Templates: time 0.007506/0.7008, allocations: 2.435 MB / 0.6964 GB, free: 13.27 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe 2>&1)