Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.001314/0.001314, allocations: 110 kB / 18.93 MB, free: 2.945 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.001566/0.001566, allocations: 186.1 kB / 22.23 MB, free: 5.16 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.471/1.471, allocations: 225.6 MB / 251 MB, free: 13 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.002518/0.002518, allocations: 288.1 kB / 306.6 MB, free: 8.289 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.281/1.281, allocations: 180.9 MB / 0.53 GB, free: 14.48 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.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002932/0.002932, allocations: 102.3 kB / 0.7308 GB, free: 38.81 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2313, allocations: 94.2 MB / 0.8228 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002575/0.2338, allocations: 1.267 MB / 0.8241 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003412/0.2342, allocations: 127.5 kB / 0.8242 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.2342, allocations: 0 / 0.8242 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.2342, allocations: 3.938 kB / 0.8242 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.903e-05/0.2343, allocations: 3.984 kB / 0.8242 GB, free: 388 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.2346, allocations: 43.83 kB / 0.8242 GB, free: 344 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.216e-05/0.2346, allocations: 15.92 kB / 0.8243 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.2347, allocations: 4 kB / 0.8243 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.2347, allocations: 4 kB / 0.8243 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.966e-05/0.2348, allocations: 7.922 kB / 0.8243 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2348, allocations: 4 kB / 0.8243 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.2349, allocations: 51.94 kB / 0.8243 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.2349, allocations: 4 kB / 0.8243 GB, free: 252 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.2349, allocations: 7.938 kB / 0.8243 GB, free: 244 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.2351, allocations: 35.89 kB / 0.8244 GB, free: 208 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2351, allocations: 0 / 0.8244 GB, free: 208 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2351, allocations: 0 / 0.8244 GB, free: 208 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.2351, allocations: 0 / 0.8244 GB, free: 208 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004373/0.2355, allocations: 262.2 kB / 0.8246 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2356, allocations: 8.031 kB / 0.8246 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.2356, allocations: 4.922 kB / 0.8246 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2357, allocations: 106.5 kB / 0.8247 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2357, allocations: 4.375 kB / 0.8247 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.2357, allocations: 384 / 0.8247 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.14e-05/0.2358, allocations: 37.58 kB / 0.8248 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2358, allocations: 0 / 0.8248 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.2358, allocations: 3.938 kB / 0.8248 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.2358, allocations: 4 kB / 0.8248 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.433e-05/0.2359, allocations: 7.984 kB / 0.8248 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.2361, allocations: 120.8 kB / 0.8249 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.181e-05/0.2361, allocations: 34.59 kB / 0.8249 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.849e-05/0.2361, allocations: 4.859 kB / 0.8249 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004851/0.2366, allocations: 91.91 kB / 0.825 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2366, allocations: 34.5 kB / 0.8251 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2366, allocations: 0 / 0.8251 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.000154/0.2368, allocations: 53.64 kB / 0.8251 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.2368, allocations: 51.41 kB / 0.8252 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.2369, allocations: 93.86 kB / 0.8252 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2369, allocations: 25.7 kB / 0.8253 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.237, allocations: 84.14 kB / 0.8254 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.237, allocations: 3.953 kB / 0.8254 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/0.237, allocations: 17.7 kB / 0.8254 GB, free: 15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2372, allocations: 310.8 kB / 0.8257 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.2372, allocations: 16.06 kB / 0.8257 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.615e-06/0.2372, allocations: 0 / 0.8257 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.994e-05/0.2372, allocations: 12.8 kB / 0.8257 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2372, allocations: 4 kB / 0.8257 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.47e-05/0.2373, allocations: 45.62 kB / 0.8257 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2373, allocations: 4 kB / 0.8257 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2373, allocations: 0 / 0.8257 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2373, allocations: 0 / 0.8257 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.902e-05/0.2374, allocations: 8 kB / 0.8258 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2374, allocations: 4.094 kB / 0.8258 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.2374, allocations: 0 / 0.8258 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.2374, allocations: 4 kB / 0.8258 GB, free: 14.59 MB / 0.5762 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.044e-05/0.2375, allocations: 106.5 kB / 0.8259 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.2375, allocations: 3.938 kB / 0.8259 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.2376, allocations: 48.94 kB / 0.8259 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2376, allocations: 4 kB / 0.8259 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2376, allocations: 0 / 0.8259 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.2376, allocations: 4.031 kB / 0.8259 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.2377, allocations: 128.7 kB / 0.826 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.2377, allocations: 3.938 kB / 0.826 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.2377, allocations: 4 kB / 0.8261 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.2378, allocations: 0 / 0.8261 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.2378, allocations: 0 / 0.8261 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.2378, allocations: 0 / 0.8261 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2378, allocations: 0 / 0.8261 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.478e-05/0.2378, allocations: 69.06 kB / 0.8261 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.22e-05/0.2379, allocations: 11.89 kB / 0.8261 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.2379, allocations: 0 / 0.8261 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.501e-05/0.2379, allocations: 0 / 0.8261 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.2379, allocations: 3.984 kB / 0.8261 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.2379, allocations: 4 kB / 0.8261 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.2379, allocations: 79.28 kB / 0.8262 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2379, allocations: 0 / 0.8262 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001984/0.2381, allocations: 15.94 kB / 0.8262 GB, free: 14.03 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001744/0.2383, allocations: 115.2 kB / 0.8263 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 8.542e-05/0.2384, allocations: 8 kB / 0.8263 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2384, allocations: 4 kB / 0.8264 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.2384, allocations: 7.938 kB / 0.8264 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.2386, allocations: 11.92 kB / 0.8264 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002947/0.2389, allocations: 98.42 kB / 0.8265 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.2393, allocations: 0.6807 MB / 0.8271 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.2393, allocations: 7.984 kB / 0.8271 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.2393, allocations: 7.438 kB / 0.8271 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.2393, allocations: 0 / 0.8271 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of Templates: time 0.003069/0.2424, allocations: 0.6154 MB / 0.8277 GB, free: 12.42 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.520442733541131] Failed to read output from testmodel.py, exit status != 0: 0.25060715340077877 0.263960018 0.026008663 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f6fdade17b0>