Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001785/0.001785, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00201/0.00201, allocations: 191.1 kB / 16.14 MB, free: 6.715 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002384/0.002384, allocations: 282.8 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.026/1.026, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00258/0.00258, allocations: 96.84 kB / 0.6057 GB, free: 25.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1539, allocations: 89.15 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.006859/0.1608, allocations: 5.212 MB / 0.6979 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4256/0.5864, allocations: 148.3 MB / 0.8427 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006947/0.5872, allocations: 18.19 kB / 0.8427 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.5877, allocations: 169.7 kB / 0.8429 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.5891, allocations: 496.3 kB / 0.8434 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001562/0.5907, allocations: 0.7269 MB / 0.8441 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001225/0.5919, allocations: 1.362 MB / 0.8454 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007959/0.5927, allocations: 0.5867 MB / 0.846 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005216/0.5932, allocations: 437.9 kB / 0.8464 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005255/0.5938, allocations: 0.4891 MB / 0.8469 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.5939, allocations: 59.84 kB / 0.8469 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006711/0.5946, allocations: 406 kB / 0.8473 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.5948, allocations: 248.7 kB / 0.8476 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.5953, allocations: 0.5283 MB / 0.8481 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.5967, allocations: 1.593 MB / 0.8496 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.5967, allocations: 0 / 0.8496 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.81e-07/0.5967, allocations: 0 / 0.8496 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.5967, allocations: 0 / 0.8496 GB, free: 4.609 MB / 0.5762 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.002473/0.5992, allocations: 1.498 MB / 0.8511 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.5993, allocations: 8.5 kB / 0.8511 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008651/0.6001, allocations: 192.7 kB / 0.8513 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.6011, allocations: 0.7615 MB / 0.852 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.6012, allocations: 71.02 kB / 0.8521 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.6013, allocations: 92.12 kB / 0.8522 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.6028, allocations: 0.9496 MB / 0.8531 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.6029, allocations: 0 / 0.8531 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/0.603, allocations: 38.38 kB / 0.8531 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.603, allocations: 19.84 kB / 0.8532 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.6047, allocations: 1.134 MB / 0.8543 GB, free: 1.488 MB / 0.5762 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.003865/0.6085, allocations: 2.817 MB / 0.857 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.61, allocations: 0.8425 MB / 0.8579 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.6106, allocations: 323.9 kB / 0.8582 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.02e-05/0.6106, allocations: 35.95 kB / 0.8582 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009301/0.6116, allocations: 0.5023 MB / 0.8587 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 1.843e-06/0.6116, allocations: 0 / 0.8587 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.00311/0.6147, allocations: 1.247 MB / 0.8599 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.6149, allocations: 198.3 kB / 0.8601 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000743/0.6156, allocations: 0.6515 MB / 0.8607 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.94e-05/0.6157, allocations: 42.55 kB / 0.8608 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.616, allocations: 410.5 kB / 0.8612 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/0.6163, allocations: 287.1 kB / 0.8614 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.6165, allocations: 164.8 kB / 0.8616 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.6167, allocations: 391.6 kB / 0.862 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005314/0.6172, allocations: 280 kB / 0.8622 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006212/0.6179, allocations: 376.5 kB / 0.8626 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.619, allocations: 0.6308 MB / 0.8632 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.619, allocations: 2.75 kB / 0.8632 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001874/0.6209, allocations: 0.8859 MB / 0.8641 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.6209, allocations: 5.438 kB / 0.8641 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.6209, allocations: 2.469 kB / 0.8641 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005751/0.6215, allocations: 83.67 kB / 0.8642 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/0.6221, allocations: 166.3 kB / 0.8643 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.6242, allocations: 1.535 MB / 0.8658 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000708/0.6249, allocations: 99.91 kB / 0.8659 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.625, allocations: 34.58 kB / 0.8659 GB, free: 9.102 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.0003814/0.6254, allocations: 274.7 kB / 0.8662 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.6256, allocations: 85.06 kB / 0.8663 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00226/0.6278, allocations: 1.094 MB / 0.8674 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.6278, allocations: 10.62 kB / 0.8674 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6279, allocations: 3.938 kB / 0.8674 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.6279, allocations: 3.984 kB / 0.8674 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.6289, allocations: 0.9282 MB / 0.8683 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6289, allocations: 0 / 0.8683 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.6295, allocations: 160.4 kB / 0.8684 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004864/0.63, allocations: 85.73 kB / 0.8685 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.6301, allocations: 31.77 kB / 0.8685 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.6319, allocations: 1.546 MB / 0.8701 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6319, allocations: 0 / 0.8701 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.6346, allocations: 1.371 MB / 0.8714 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003509/0.6349, allocations: 275.7 kB / 0.8717 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.635, allocations: 27.92 kB / 0.8717 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005969/0.6357, allocations: 59.94 kB / 0.8717 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.6358, allocations: 72.89 kB / 0.8718 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/0.6359, allocations: 40.03 kB / 0.8718 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005665/0.6365, allocations: 471 kB / 0.8723 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6365, allocations: 0 / 0.8723 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008155/0.6373, allocations: 335.2 kB / 0.8726 GB, free: 3.184 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.001803/0.6391, allocations: 0.6075 MB / 0.8732 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00164/0.6407, allocations: 0.8633 MB / 0.8741 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6408, allocations: 0 / 0.8741 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009405/0.6417, allocations: 0.5317 MB / 0.8746 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6428, allocations: 278.5 kB / 0.8748 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.6461, allocations: 2.292 MB / 0.8771 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006361/0.6468, allocations: 1.036 MB / 0.8781 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007797/0.6476, allocations: 266.9 kB / 0.8783 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.6478, allocations: 103.4 kB / 0.8784 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.6478, allocations: 0 / 0.8784 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.02459/0.6724, allocations: 14.79 MB / 0.8929 GB, free: 14.71 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1)