Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009007/0.0009007, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9897/0.9897, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8258/0.8258, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 67.67 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.554/0.555, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.1874/0.7424, allocations: 208.4 MB / 1.021 GB, free: 4.875 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008528/0.7509, allocations: 6.419 MB / 1.028 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.7522, allocations: 47.62 kB / 1.028 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.7538, allocations: 0.7694 MB / 1.028 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.005727/0.7595, allocations: 2.828 MB / 1.031 GB, free: 10.78 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.7613, allocations: 0.7456 MB / 1.032 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004155/0.7655, allocations: 3.356 MB / 1.035 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.7666, allocations: 0.8208 MB / 1.036 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00265/0.7692, allocations: 1.429 MB / 1.037 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/0.7712, allocations: 1.152 MB / 1.038 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.7713, allocations: 128 kB / 1.039 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004092/0.7754, allocations: 2.545 MB / 1.041 GB, free: 0.5703 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005927/0.776, allocations: 0.5298 MB / 1.042 GB, free: 40 kB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0009875/0.777, allocations: 0.7431 MB / 1.042 GB, free: 15.29 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004656/0.7817, allocations: 2.812 MB / 1.045 GB, free: 12.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.7817, allocations: 0 / 1.045 GB, free: 12.47 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7817, allocations: 4 kB / 1.045 GB, free: 12.47 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.996e-05/0.7817, allocations: 0 / 1.045 GB, free: 12.47 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.002878/0.7846, allocations: 1.734 MB / 1.047 GB, free: 10.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.7846, allocations: 8.031 kB / 1.047 GB, free: 10.69 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.7848, allocations: 164.6 kB / 1.047 GB, free: 10.52 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.786, allocations: 346.9 kB / 1.047 GB, free: 10.18 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.7872, allocations: 0.8103 MB / 1.048 GB, free: 9.34 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.7872, allocations: 78 kB / 1.048 GB, free: 9.262 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.7873, allocations: 104 kB / 1.048 GB, free: 9.16 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.7887, allocations: 1.199 MB / 1.049 GB, free: 7.93 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.7887, allocations: 4 kB / 1.049 GB, free: 7.926 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/0.7888, allocations: 44 kB / 1.049 GB, free: 7.883 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.334e-05/0.7888, allocations: 62.06 kB / 1.05 GB, free: 7.82 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.7902, allocations: 1.242 MB / 1.051 GB, free: 6.57 MB / 0.823 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.004831/0.795, allocations: 5.207 MB / 1.056 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009586/0.796, allocations: 0.8388 MB / 1.057 GB, free: 24 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.7965, allocations: 493.1 kB / 1.057 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.124e-05/0.7966, allocations: 16.66 kB / 1.057 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005444/0.7971, allocations: 492.3 kB / 1.058 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=76): time 4.238e-06/0.7971, allocations: 0 / 1.058 GB, free: 15.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=76): time 0.00157/0.7987, allocations: 1.153 MB / 1.059 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.7987, allocations: 64 kB / 1.059 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/0.7992, allocations: 0.5783 MB / 1.059 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.7993, allocations: 45.7 kB / 1.059 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/0.7995, allocations: 476.6 kB / 1.06 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.7997, allocations: 277.5 kB / 1.06 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.7998, allocations: 134.6 kB / 1.06 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.7999, allocations: 382.8 kB / 1.061 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.8003, allocations: 333.8 kB / 1.061 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003813/0.8007, allocations: 452.8 kB / 1.061 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007775/0.8014, allocations: 0.8232 MB / 1.062 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.8014, allocations: 0 / 1.062 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009498/0.8024, allocations: 0.9339 MB / 1.063 GB, free: 9.281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.8024, allocations: 8 kB / 1.063 GB, free: 9.273 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.8024, allocations: 4 kB / 1.063 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.8024, allocations: 4 kB / 1.063 GB, free: 9.266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.8028, allocations: 155.8 kB / 1.063 GB, free: 9.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.8028, allocations: 12.27 kB / 1.063 GB, free: 9.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.8032, allocations: 67.52 kB / 1.063 GB, free: 9.035 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.8033, allocations: 28 kB / 1.063 GB, free: 9.008 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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 0.000389/0.8037, allocations: 326.3 kB / 1.064 GB, free: 8.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.8037, allocations: 79.53 kB / 1.064 GB, free: 8.602 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.8039, allocations: 107.8 kB / 1.064 GB, free: 8.492 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.8039, allocations: 7.938 kB / 1.064 GB, free: 8.484 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.8039, allocations: 4 kB / 1.064 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/0.8049, allocations: 1.089 MB / 1.065 GB, free: 7.305 MB / 0.8386 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 postOpt removeSimpleEquations (simulation): time 0.002254/0.8072, allocations: 2.286 MB / 1.067 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8072, allocations: 4 kB / 1.067 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000473/0.8076, allocations: 175.8 kB / 1.067 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.8077, allocations: 0 / 1.067 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.8077, allocations: 16 kB / 1.067 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.8077, allocations: 12.02 kB / 1.067 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8077, allocations: 0 / 1.067 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.8089, allocations: 1.36 MB / 1.069 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.8092, allocations: 187.3 kB / 1.069 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/0.8093, allocations: 19.94 kB / 1.069 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.8096, allocations: 23.97 kB / 1.069 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.8097, allocations: 48.58 kB / 1.069 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.662e-05/0.8097, allocations: 23.98 kB / 1.069 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003593/0.8101, allocations: 415 kB / 1.069 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.8101, allocations: 0 / 1.069 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006942/0.8108, allocations: 371.3 kB / 1.07 GB, free: 2.285 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.00181/0.8126, allocations: 1.97 MB / 1.072 GB, free: 292 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009712/0.8135, allocations: 0.7629 MB / 1.072 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.8135, allocations: 4 kB / 1.072 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.8139, allocations: 407.5 kB / 1.073 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.8155, allocations: 0.593 MB / 1.073 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007735/0.8232, allocations: 7.29 MB / 1.08 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004987/0.8237, allocations: 1.14 MB / 1.082 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006818/0.8244, allocations: 271.1 kB / 1.082 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/0.8248, allocations: 379.3 kB / 1.082 GB, free: 5.301 MB / 0.8542 GB Notification: Performance of SimCode: time 1.312e-06/0.8248, allocations: 4 kB / 1.082 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04487/0.8696, allocations: 26.71 MB / 1.108 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.62/8.49, allocations: 14.19 kB / 1.108 GB, free: 10.87 MB / 0.8855 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ZonalFlow.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.579841293860227] Failed to read output from testmodel.py, exit status != 0: 8.579213857883587 8.591741943 7.807115106 Calling exit ...