Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 197.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 287 kB / 306.4 MB, free: 8.457 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.185/1.185, allocations: 180.9 MB / 0.5298 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] 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.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002734/0.002734, allocations: 102.5 kB / 0.7305 GB, free: 39.01 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1399, allocations: 94.16 MB / 0.8225 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007551/0.1474, allocations: 4.975 MB / 0.8273 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1713/0.3187, allocations: 151.2 MB / 0.975 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000766/0.3195, allocations: 19.88 kB / 0.975 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006929/0.3202, allocations: 182.3 kB / 0.9752 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.3221, allocations: 0.5538 MB / 0.9757 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.3242, allocations: 0.8575 MB / 0.9765 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.326, allocations: 1.37 MB / 0.9779 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008058/0.3268, allocations: 405.4 kB / 0.9783 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007525/0.3275, allocations: 486.3 kB / 0.9787 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007631/0.3283, allocations: 0.4924 MB / 0.9792 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002279/0.3285, allocations: 116 kB / 0.9793 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.3296, allocations: 487.6 kB / 0.9798 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003993/0.33, allocations: 295 kB / 0.9801 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000851/0.3308, allocations: 0.552 MB / 0.9806 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002661/0.3335, allocations: 1.626 MB / 0.9822 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3335, allocations: 0 / 0.9822 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3335, allocations: 0 / 0.9822 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.962e-05/0.3335, allocations: 0 / 0.9822 GB, free: 14.28 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002909/0.3364, allocations: 1.456 MB / 0.9836 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3365, allocations: 16.03 kB / 0.9836 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009251/0.3374, allocations: 192.1 kB / 0.9838 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.3386, allocations: 0.77 MB / 0.9846 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/0.3387, allocations: 66 kB / 0.9846 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.3388, allocations: 76 kB / 0.9847 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.3404, allocations: 0.9114 MB / 0.9856 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.3404, allocations: 4 kB / 0.9856 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/0.3405, allocations: 36 kB / 0.9856 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.3405, allocations: 20 kB / 0.9856 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.3423, allocations: 1.093 MB / 0.9867 GB, free: 9.504 MB / 0.7325 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.004104/0.3464, allocations: 2.748 MB / 0.9894 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.3478, allocations: 0.7339 MB / 0.9901 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005153/0.3484, allocations: 270.6 kB / 0.9904 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.541e-05/0.3484, allocations: 32.61 kB / 0.9904 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008419/0.3493, allocations: 496.6 kB / 0.9909 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=78): time 1.903e-06/0.3493, allocations: 0 / 0.9909 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78): time 0.003177/0.3524, allocations: 1.179 MB / 0.992 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.3526, allocations: 188.6 kB / 0.9922 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000816/0.3534, allocations: 0.6371 MB / 0.9928 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.94e-05/0.3535, allocations: 49.7 kB / 0.9929 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.3538, allocations: 401 kB / 0.9933 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.354, allocations: 265.8 kB / 0.9935 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.3543, allocations: 162.5 kB / 0.9937 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.3545, allocations: 386.7 kB / 0.994 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/0.355, allocations: 261.9 kB / 0.9943 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006457/0.3557, allocations: 368 kB / 0.9946 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.3568, allocations: 0.6003 MB / 0.9952 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3568, allocations: 4 kB / 0.9952 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001958/0.3587, allocations: 0.8414 MB / 0.996 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3588, allocations: 8 kB / 0.9961 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3588, allocations: 0 / 0.9961 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005983/0.3594, allocations: 84.89 kB / 0.9961 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.36, allocations: 163.7 kB / 0.9963 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.3622, allocations: 1.63 MB / 0.9979 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.3629, allocations: 85.02 kB / 0.998 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.3629, allocations: 44.03 kB / 0.998 GB, free: 13.49 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (93): * Single equations (assignments): 92 * 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.0004035/0.3633, allocations: 286.2 kB / 0.9983 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.3635, allocations: 87.44 kB / 0.9984 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002359/0.3659, allocations: 1.038 MB / 0.9994 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.3659, allocations: 12 kB / 0.9994 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.3659, allocations: 3.938 kB / 0.9994 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.3659, allocations: 3.984 kB / 0.9994 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.367, allocations: 0.8842 MB / 1 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.367, allocations: 4 kB / 1 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.3675, allocations: 139.8 kB / 1 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004433/0.368, allocations: 68.8 kB / 1 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.368, allocations: 31.91 kB / 1 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002016/0.37, allocations: 1.658 MB / 1.002 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.37, allocations: 4.172 kB / 1.002 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.372, allocations: 0.9088 MB / 1.003 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.3724, allocations: 284.2 kB / 1.003 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.3726, allocations: 23.94 kB / 1.003 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006076/0.3732, allocations: 55.94 kB / 1.003 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.3733, allocations: 68.89 kB / 1.003 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.3734, allocations: 39.92 kB / 1.003 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005868/0.374, allocations: 463 kB / 1.004 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.374, allocations: 0 / 1.004 GB, free: 7.199 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008123/0.3748, allocations: 319.2 kB / 1.004 GB, free: 6.887 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (89): * Single equations (assignments): 83 * 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.001885/0.3767, allocations: 0.6034 MB / 1.005 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.3784, allocations: 0.7962 MB / 1.006 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3784, allocations: 0 / 1.006 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009421/0.3793, allocations: 496.2 kB / 1.006 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.3805, allocations: 291.2 kB / 1.006 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.3837, allocations: 1.688 MB / 1.008 GB, free: 3.188 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/0.3844, allocations: 1.023 MB / 1.009 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007662/0.3852, allocations: 258.5 kB / 1.009 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.3854, allocations: 107.4 kB / 1.009 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of SimCode: time 4.91e-07/0.3854, allocations: 0 / 1.009 GB, free: 1.773 MB / 0.7481 GB Notification: Performance of Templates: time 0.352/0.7374, allocations: 15.48 MB / 1.024 GB, free: 183.9 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.861396891064942] Failed to read output from testmodel.py, exit status != 0: 0.7446107799187303 0.753633862 0.418064457 Calling exit ...