Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001126, allocations: 102.6 kB / 16.4 MB, free: 6.504 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.001222/0.001222, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7423/0.7423, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 66.36 kB / 0.5577 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1613, allocations: 76.18 MB / 0.6321 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006298/0.1677, allocations: 5.198 MB / 0.6371 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5119/0.6796, allocations: 150.7 MB / 0.7843 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.6809, allocations: 22.36 kB / 0.7843 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006411/0.6816, allocations: 200.2 kB / 0.7845 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.6835, allocations: 0.562 MB / 0.785 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.6856, allocations: 0.8497 MB / 0.7859 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001496/0.6871, allocations: 1.449 MB / 0.7873 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008321/0.688, allocations: 0.6103 MB / 0.7879 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007519/0.6887, allocations: 0.5034 MB / 0.7884 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006544/0.6894, allocations: 0.5245 MB / 0.7889 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.6896, allocations: 123.5 kB / 0.789 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.6906, allocations: 489.2 kB / 0.7895 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.6909, allocations: 306.9 kB / 0.7898 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005009/0.6914, allocations: 0.5909 MB / 0.7903 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.6932, allocations: 1.687 MB / 0.792 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6932, allocations: 6.375 kB / 0.792 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6932, allocations: 0 / 0.792 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.6933, allocations: 0 / 0.792 GB, free: 13.46 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002344/0.6956, allocations: 1.481 MB / 0.7934 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.6957, allocations: 10.03 kB / 0.7934 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009046/0.6966, allocations: 198.1 kB / 0.7936 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.6976, allocations: 0.7851 MB / 0.7944 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.6977, allocations: 68.56 kB / 0.7945 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.6978, allocations: 85 kB / 0.7945 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.6992, allocations: 0.9545 MB / 0.7955 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.6993, allocations: 0 / 0.7955 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.6994, allocations: 40.62 kB / 0.7955 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.6994, allocations: 25.61 kB / 0.7955 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.701, allocations: 1.136 MB / 0.7966 GB, free: 12.05 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003487/0.7045, allocations: 2.781 MB / 0.7994 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.7058, allocations: 0.8532 MB / 0.8002 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.7063, allocations: 324.1 kB / 0.8005 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-05/0.7064, allocations: 24.72 kB / 0.8005 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007474/0.7071, allocations: 0.5064 MB / 0.801 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 2.144e-06/0.7071, allocations: 0 / 0.801 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.002843/0.71, allocations: 1.248 MB / 0.8022 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.607e-05/0.7101, allocations: 192.6 kB / 0.8024 GB, free: 10 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/0.7108, allocations: 0.656 MB / 0.8031 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.268e-05/0.7108, allocations: 41.3 kB / 0.8031 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003322/0.7112, allocations: 411.8 kB / 0.8035 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.7114, allocations: 288.7 kB / 0.8038 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.7116, allocations: 167 kB / 0.8039 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7118, allocations: 387.6 kB / 0.8043 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004956/0.7123, allocations: 277.9 kB / 0.8046 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/0.7129, allocations: 378.4 kB / 0.8049 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009785/0.7138, allocations: 0.6288 MB / 0.8055 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.7139, allocations: 4.5 kB / 0.8055 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001746/0.7156, allocations: 0.8846 MB / 0.8064 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.7156, allocations: 7.594 kB / 0.8064 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.7157, allocations: 0 / 0.8064 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/0.7162, allocations: 83.58 kB / 0.8065 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006473/0.7169, allocations: 177.6 kB / 0.8067 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.7187, allocations: 1.625 MB / 0.8083 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000699/0.7195, allocations: 99.92 kB / 0.8083 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.7195, allocations: 38.38 kB / 0.8084 GB, free: 6.789 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003889/0.7199, allocations: 274.5 kB / 0.8086 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.7201, allocations: 85.75 kB / 0.8087 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.7223, allocations: 1.092 MB / 0.8098 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.7223, allocations: 12.62 kB / 0.8098 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7223, allocations: 4 kB / 0.8098 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.7223, allocations: 3.984 kB / 0.8098 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009197/0.7232, allocations: 0.9279 MB / 0.8107 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7233, allocations: 0 / 0.8107 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/0.7239, allocations: 160.5 kB / 0.8109 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/0.7243, allocations: 78.25 kB / 0.8109 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.385e-05/0.7243, allocations: 23.8 kB / 0.811 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.7261, allocations: 1.655 MB / 0.8126 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.7261, allocations: 2.5 kB / 0.8126 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.7285, allocations: 1.363 MB / 0.8139 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.7288, allocations: 271.8 kB / 0.8142 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.7289, allocations: 34.58 kB / 0.8142 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005915/0.7295, allocations: 63.3 kB / 0.8143 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.7297, allocations: 77.67 kB / 0.8143 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.129e-05/0.7297, allocations: 32.86 kB / 0.8144 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005021/0.7302, allocations: 476.8 kB / 0.8148 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7302, allocations: 0 / 0.8148 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008088/0.7311, allocations: 332.2 kB / 0.8151 GB, free: 2.086 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001279/0.7324, allocations: 0.6086 MB / 0.8157 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.734, allocations: 0.8562 MB / 0.8166 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.734, allocations: 1.781 kB / 0.8166 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008712/0.7349, allocations: 0.5361 MB / 0.8171 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.7361, allocations: 307.9 kB / 0.8174 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.7391, allocations: 1.836 MB / 0.8192 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.7396, allocations: 1.039 MB / 0.8202 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000812/0.7405, allocations: 262.8 kB / 0.8205 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.7407, allocations: 97.52 kB / 0.8205 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.7407, allocations: 3 kB / 0.8206 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of Templates: time 0.02571/0.7665, allocations: 15.59 MB / 0.8358 GB, free: 2.805 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)