Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8777/0.8777, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 64.47 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1292, allocations: 80.93 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.7921/0.9213, allocations: 295.1 MB / 0.8726 GB, free: 1.469 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01881/0.9401, allocations: 16.99 MB / 0.8892 GB, free: 1.43 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.9427, allocations: 80.44 kB / 0.8893 GB, free: 1.43 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00355/0.9463, allocations: 1.893 MB / 0.8911 GB, free: 1.391 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01274/0.959, allocations: 6.43 MB / 0.8974 GB, free: 1.137 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007419/0.9665, allocations: 2.913 MB / 0.9003 GB, free: 1.07 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01061/0.9771, allocations: 7.697 MB / 0.9078 GB, free: 1.059 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003481/0.9806, allocations: 2.593 MB / 0.9103 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.9854, allocations: 2.777 MB / 0.913 GB, free: 16.78 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004011/0.9894, allocations: 2.712 MB / 0.9157 GB, free: 16.77 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005377/0.99, allocations: 325.9 kB / 0.916 GB, free: 16.77 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0107/1.001, allocations: 6.168 MB / 0.922 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001225/1.002, allocations: 1.335 MB / 0.9233 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001938/1.004, allocations: 1.882 MB / 0.9251 GB, free: 16.31 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008317/1.012, allocations: 6.851 MB / 0.9318 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/1.012, allocations: 0.9062 kB / 0.9318 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.386e-06/1.012, allocations: 0 / 0.9318 GB, free: 15.56 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.643e-05/1.012, allocations: 4.812 kB / 0.9318 GB, free: 15.56 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 669 * Number of variables: 669 Notification: Performance of Generate backend data structure: time 0.008331/1.021, allocations: 4.12 MB / 0.9359 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/1.021, allocations: 10.84 kB / 0.9359 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003836/1.021, allocations: 371.7 kB / 0.9362 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005582/1.027, allocations: 0.9088 MB / 0.9371 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/1.029, allocations: 1.845 MB / 0.9389 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.314e-05/1.029, allocations: 197.3 kB / 0.9391 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/1.03, allocations: 269.3 kB / 0.9394 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004389/1.034, allocations: 3.324 MB / 0.9426 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.154e-05/1.034, allocations: 7.469 kB / 0.9426 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/1.034, allocations: 109 kB / 0.9427 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/1.034, allocations: 136.4 kB / 0.9428 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004786/1.039, allocations: 3.491 MB / 0.9463 GB, free: 11.16 MB / 0.6856 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.01247/1.052, allocations: 12.2 MB / 0.9582 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003951/1.056, allocations: 3.488 MB / 0.9616 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002559/1.058, allocations: 1.814 MB / 0.9634 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001398/1.06, allocations: 1.495 MB / 0.9648 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/1.06, allocations: 72.69 kB / 0.9649 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=278): time 4.028e-06/1.06, allocations: 0 / 0.9649 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of matching and sorting (n=278): time 0.006007/1.066, allocations: 3.876 MB / 0.9687 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/1.066, allocations: 85.53 kB / 0.9687 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/1.067, allocations: 1.372 MB / 0.9701 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/1.068, allocations: 77.7 kB / 0.9702 GB, free: 8.066 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006077/1.068, allocations: 0.9881 MB / 0.9711 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006738/1.069, allocations: 0.9466 MB / 0.9721 GB, free: 6.129 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006001/1.069, allocations: 405 kB / 0.9724 GB, free: 5.727 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 7.548e-05/1.07, allocations: 301.1 kB / 0.9727 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/1.071, allocations: 1.094 MB / 0.9738 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/1.073, allocations: 1.381 MB / 0.9751 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003747/1.077, allocations: 2.648 MB / 0.9777 GB, free: 156 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.077, allocations: 2.531 kB / 0.9777 GB, free: 156 kB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004383/1.081, allocations: 2.969 MB / 0.9806 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/1.081, allocations: 6.031 kB / 0.9806 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.081, allocations: 8 kB / 0.9806 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.081, allocations: 12 kB / 0.9807 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/1.083, allocations: 0.5126 MB / 0.9812 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.307e-05/1.083, allocations: 19.94 kB / 0.9812 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.085, allocations: 189.3 kB / 0.9814 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/1.085, allocations: 83.98 kB / 0.9814 GB, free: 12.37 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (311): * Single equations (assignments): 311 * 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.000899/1.086, allocations: 0.6471 MB / 0.9821 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003735/1.087, allocations: 233.3 kB / 0.9823 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004773/1.092, allocations: 3.096 MB / 0.9853 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/1.092, allocations: 28 kB / 0.9853 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/1.092, allocations: 3.938 kB / 0.9853 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003697/1.095, allocations: 2.648 MB / 0.9879 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008427/1.104, allocations: 6.208 MB / 0.994 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.104, allocations: 0 / 0.994 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/1.106, allocations: 0.5519 MB / 0.9945 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.505e-05/1.106, allocations: 8 kB / 0.9945 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/1.106, allocations: 63.97 kB / 0.9946 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/1.106, allocations: 8 kB / 0.9946 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.106, allocations: 0 / 0.9946 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006514/1.113, allocations: 4.81 MB / 0.9993 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/1.114, allocations: 0.6071 MB / 0.9999 GB, free: 9.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003098/1.114, allocations: 55.92 kB / 0.9999 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.116, allocations: 59.98 kB / 1 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/1.116, allocations: 169.9 kB / 1 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/1.116, allocations: 75.98 kB / 1 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001211/1.118, allocations: 0.9501 MB / 1.001 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/1.118, allocations: 0 / 1.001 GB, free: 7.957 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001896/1.12, allocations: 0.9784 MB / 1.002 GB, free: 6.977 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1],oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1]) * 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 (278): * Single equations (assignments): 278 * 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.007147/1.127, allocations: 5.63 MB / 1.008 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01103/1.138, allocations: 5.543 MB / 1.013 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.138, allocations: 0 / 1.013 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/1.14, allocations: 1.511 MB / 1.015 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005431/1.145, allocations: 1.356 MB / 1.016 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02702/1.172, allocations: 21.23 MB / 1.037 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/1.174, allocations: 1.905 MB / 1.038 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002866/1.177, allocations: 0.8358 MB / 1.039 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/1.178, allocations: 1.093 MB / 1.04 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of SimCode: time 6.51e-07/1.178, allocations: 0 / 1.04 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09718/1.275, allocations: 67.83 MB / 1.107 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.916/11.19, allocations: 19.31 kB / 1.107 GB, free: 11.64 MB / 0.8419 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1)