Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.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.001276/0.001276, allocations: 113.2 kB / 17.13 MB, free: 5.754 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.00138/0.00138, allocations: 192.6 kB / 20.08 MB, free: 2.848 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.459/1.459, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8332/0.8332, allocations: 129.2 MB / 432.5 MB, free: 13.34 MB / 350.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.91 kB / 0.5987 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3843, allocations: 83.44 MB / 0.6802 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.6313/1.016, allocations: 193.3 MB / 0.8689 GB, free: 1.844 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006735/1.022, allocations: 4.028 MB / 0.8729 GB, free: 1.836 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/1.023, allocations: 19.78 kB / 0.8729 GB, free: 1.836 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/1.025, allocations: 491.3 kB / 0.8734 GB, free: 1.828 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004263/1.029, allocations: 1.586 MB / 0.8749 GB, free: 1.773 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003795/1.033, allocations: 1.384 MB / 0.8763 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002967/1.036, allocations: 1.62 MB / 0.8779 GB, free: 1.723 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/1.037, allocations: 0.8677 MB / 0.8787 GB, free: 1.629 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002844/1.04, allocations: 1.096 MB / 0.8798 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002255/1.042, allocations: 0.9072 MB / 0.8807 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003854/1.043, allocations: 99.72 kB / 0.8807 GB, free: 1.625 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003805/1.047, allocations: 1.374 MB / 0.8821 GB, free: 1.613 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005851/1.047, allocations: 366.9 kB / 0.8824 GB, free: 1.613 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001646/1.049, allocations: 0.5225 MB / 0.883 GB, free: 1.613 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004525/1.053, allocations: 1.663 MB / 0.8846 GB, free: 1.523 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/1.053, allocations: 1.781 kB / 0.8846 GB, free: 1.523 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.644e-06/1.053, allocations: 0 / 0.8846 GB, free: 1.523 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.577e-05/1.053, allocations: 1.844 kB / 0.8846 GB, free: 1.523 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003521/1.057, allocations: 1.268 MB / 0.8858 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/1.057, allocations: 11.09 kB / 0.8858 GB, free: 16.8 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/1.057, allocations: 89.97 kB / 0.8859 GB, free: 16.76 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/1.059, allocations: 242.5 kB / 0.8861 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/1.06, allocations: 0.6191 MB / 0.8867 GB, free: 16.41 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/1.06, allocations: 43.08 kB / 0.8868 GB, free: 16.41 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/1.06, allocations: 51.66 kB / 0.8868 GB, free: 16.41 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/1.062, allocations: 1.006 MB / 0.8878 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/1.062, allocations: 2.344 kB / 0.8878 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.083e-05/1.062, allocations: 20.97 kB / 0.8878 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.304e-05/1.062, allocations: 35.52 kB / 0.8879 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/1.064, allocations: 0.9962 MB / 0.8889 GB, free: 16.21 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006181/1.07, allocations: 4.145 MB / 0.8929 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/1.071, allocations: 0.5571 MB / 0.8934 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007974/1.072, allocations: 489.7 kB / 0.8939 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001197/1.073, allocations: 0.8825 MB / 0.8948 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/1.073, allocations: 38.31 kB / 0.8948 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002701/1.076, allocations: 0.6296 MB / 0.8954 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=50): time 5.831e-06/1.076, allocations: 0.5 kB / 0.8954 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of matching and sorting (n=50): time 0.01707/1.093, allocations: 3.832 MB / 0.8992 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/1.093, allocations: 63.84 kB / 0.8992 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009826/1.094, allocations: 0.7082 MB / 0.8999 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002321/1.094, allocations: 37.64 kB / 0.9 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/1.094, allocations: 322 kB / 0.9003 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/1.095, allocations: 194.4 kB / 0.9004 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/1.095, allocations: 149.5 kB / 0.9006 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.095, allocations: 324.6 kB / 0.9009 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/1.096, allocations: 395.7 kB / 0.9013 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/1.096, allocations: 491.9 kB / 0.9017 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/1.098, allocations: 0.9224 MB / 0.9026 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/1.098, allocations: 0 / 0.9026 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0107/1.108, allocations: 2.548 MB / 0.9051 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/1.108, allocations: 8.719 kB / 0.9051 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.108, allocations: 6.688 kB / 0.9051 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00905/1.117, allocations: 1.73 MB / 0.9068 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/1.118, allocations: 92.11 kB / 0.9069 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/1.13, allocations: 7.154 MB / 0.9139 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/1.131, allocations: 22.52 kB / 0.9139 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/1.131, allocations: 44.97 kB / 0.914 GB, free: 8.492 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004246/1.132, allocations: 209.6 kB / 0.9142 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/1.132, allocations: 88.36 kB / 0.9143 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004728/1.137, allocations: 1.73 MB / 0.916 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/1.137, allocations: 5.281 kB / 0.916 GB, free: 8.207 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.137, allocations: 7.406 kB / 0.916 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.137, allocations: 1.5 kB / 0.916 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005952/1.143, allocations: 2.519 MB / 0.9184 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/1.143, allocations: 7.594 kB / 0.9184 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/1.143, allocations: 88.27 kB / 0.9185 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003184/1.146, allocations: 0.7971 MB / 0.9193 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.114e-05/1.146, allocations: 12.77 kB / 0.9193 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006586/1.153, allocations: 4.856 MB / 0.924 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/1.153, allocations: 8.422 kB / 0.9241 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005196/1.158, allocations: 2.146 MB / 0.9262 GB, free: 4.453 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006623/1.159, allocations: 234.3 kB / 0.9264 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/1.159, allocations: 14.34 kB / 0.9264 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/1.159, allocations: 23.83 kB / 0.9264 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/1.16, allocations: 55.47 kB / 0.9265 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/1.16, allocations: 19.67 kB / 0.9265 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005987/1.16, allocations: 0.4962 MB / 0.927 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/1.16, allocations: 0 / 0.927 GB, free: 4.086 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001071/1.161, allocations: 294 kB / 0.9272 GB, free: 4.066 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006017/1.167, allocations: 2.799 MB / 0.93 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003734/1.171, allocations: 1.402 MB / 0.9314 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.171, allocations: 1.203 kB / 0.9314 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/1.173, allocations: 0.87 MB / 0.9322 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00228/1.175, allocations: 449 kB / 0.9326 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03003/1.205, allocations: 10.45 MB / 0.9428 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/1.206, allocations: 0.9804 MB / 0.9438 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000862/1.207, allocations: 156.4 kB / 0.9439 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/1.207, allocations: 279.4 kB / 0.9442 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of SimCode: time 8.51e-07/1.207, allocations: 0 / 0.9442 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07505/1.282, allocations: 29.84 MB / 0.9733 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.5, allocations: 14.8 kB / 0.9734 GB, free: 14.75 MB / 0.7325 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.947521219030023] Failed to read output from testmodel.py, exit status != 0: 13.602786529343575 13.625578085999999 12.56775592 Calling exit ...