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.001377/0.001377, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008545/0.0008545, allocations: 190.5 kB / 16.25 MB, free: 6.629 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.097/1.097, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7655/0.7655, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 65.22 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1155, allocations: 80.93 MB / 0.584 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.6813/0.7968, allocations: 291.7 MB / 0.8688 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.8124, allocations: 16.91 MB / 0.8853 GB, free: 1.34 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.8143, allocations: 69.06 kB / 0.8854 GB, free: 1.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002923/0.8172, allocations: 1.7 MB / 0.8871 GB, free: 1.305 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009835/0.8271, allocations: 6.048 MB / 0.893 GB, free: 1.055 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.8318, allocations: 2.708 MB / 0.8956 GB, free: 0.9805 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007229/0.8391, allocations: 7.693 MB / 0.9031 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/0.8421, allocations: 2.546 MB / 0.9056 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003943/0.8461, allocations: 2.825 MB / 0.9084 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003775/0.8498, allocations: 2.875 MB / 0.9112 GB, free: 16.69 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004709/0.8503, allocations: 326.8 kB / 0.9115 GB, free: 16.69 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009225/0.8596, allocations: 6.432 MB / 0.9178 GB, free: 16.63 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001077/0.8606, allocations: 1.337 MB / 0.9191 GB, free: 16.63 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.8624, allocations: 1.887 MB / 0.9209 GB, free: 16.29 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007223/0.8696, allocations: 7.289 MB / 0.928 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.8696, allocations: 0.9062 kB / 0.928 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8696, allocations: 0 / 0.928 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.993e-05/0.8697, allocations: 0.9688 kB / 0.928 GB, free: 15.54 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.007541/0.8772, allocations: 4.126 MB / 0.9321 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.8772, allocations: 7.906 kB / 0.9321 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003434/0.8776, allocations: 375.2 kB / 0.9324 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004949/0.8825, allocations: 0.9122 MB / 0.9333 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00214/0.8847, allocations: 1.846 MB / 0.9351 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.8848, allocations: 198.8 kB / 0.9353 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.8851, allocations: 264.3 kB / 0.9356 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004013/0.8891, allocations: 3.331 MB / 0.9388 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/0.8892, allocations: 6.75 kB / 0.9388 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002148/0.8894, allocations: 108.1 kB / 0.9389 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.8895, allocations: 142 kB / 0.9391 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004364/0.8939, allocations: 3.484 MB / 0.9425 GB, free: 11.89 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.01073/0.9046, allocations: 12.06 MB / 0.9542 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003361/0.908, allocations: 3.488 MB / 0.9576 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/0.9102, allocations: 1.817 MB / 0.9594 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/0.9115, allocations: 1.489 MB / 0.9609 GB, free: 348 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.9115, allocations: 73.53 kB / 0.9609 GB, free: 288 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 3.767e-06/0.9115, allocations: 0 / 0.9609 GB, free: 288 kB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.00545/0.917, allocations: 3.871 MB / 0.9647 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.917, allocations: 89.59 kB / 0.9648 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.9185, allocations: 1.37 MB / 0.9661 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.9187, allocations: 81.64 kB / 0.9662 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000562/0.9192, allocations: 0.992 MB / 0.9672 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006286/0.9199, allocations: 0.9428 MB / 0.9681 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005528/0.9204, allocations: 405 kB / 0.9685 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.9205, allocations: 309 kB / 0.9688 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.922, allocations: 1.094 MB / 0.9699 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.9238, allocations: 1.382 MB / 0.9712 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00345/0.9272, allocations: 2.644 MB / 0.9738 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.9272, allocations: 4 kB / 0.9738 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.003991/0.9312, allocations: 2.968 MB / 0.9767 GB, free: 152 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.9313, allocations: 8 kB / 0.9767 GB, free: 144 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.9313, allocations: 4 kB / 0.9767 GB, free: 140 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.9313, allocations: 16 kB / 0.9767 GB, free: 124 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/0.9332, allocations: 0.5145 MB / 0.9772 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.9333, allocations: 14.44 kB / 0.9772 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.9353, allocations: 333.8 kB / 0.9776 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.9355, allocations: 87.92 kB / 0.9776 GB, free: 15.21 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.0008348/0.9363, allocations: 0.6448 MB / 0.9783 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/0.9367, allocations: 229.3 kB / 0.9785 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/0.941, allocations: 3.101 MB / 0.9815 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.941, allocations: 24 kB / 0.9815 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.941, allocations: 4 kB / 0.9815 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003391/0.9444, allocations: 2.648 MB / 0.9841 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007835/0.9523, allocations: 6.197 MB / 0.9902 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.9523, allocations: 3.984 kB / 0.9902 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002212/0.9545, allocations: 0.5505 MB / 0.9907 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/0.9545, allocations: 19.94 kB / 0.9907 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001339/0.9547, allocations: 55.98 kB / 0.9908 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/0.9547, allocations: 8 kB / 0.9908 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9547, allocations: 1.875 kB / 0.9908 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005887/0.9606, allocations: 4.804 MB / 0.9955 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008294/0.9614, allocations: 0.6109 MB / 0.9961 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002749/0.9617, allocations: 55.94 kB / 0.9961 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/0.9634, allocations: 226.2 kB / 0.9964 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/0.9637, allocations: 162 kB / 0.9965 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.9639, allocations: 83.97 kB / 0.9966 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001027/0.9649, allocations: 0.9384 MB / 0.9975 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.422e-06/0.9649, allocations: 0 / 0.9975 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001573/0.9665, allocations: 0.9939 MB / 0.9985 GB, free: 9.664 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.006535/0.973, allocations: 5.635 MB / 1.004 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01009/0.9831, allocations: 5.536 MB / 1.009 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9831, allocations: 0 / 1.009 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.9849, allocations: 1.506 MB / 1.011 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004505/0.9894, allocations: 1.357 MB / 1.012 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02647/1.016, allocations: 22.33 MB / 1.034 GB, free: 4.211 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/1.017, allocations: 1.897 MB / 1.036 GB, free: 2.281 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002449/1.02, allocations: 0.8436 MB / 1.037 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/1.021, allocations: 1.089 MB / 1.038 GB, free: 352 kB / 0.7637 GB Notification: Performance of SimCode: time 5.31e-07/1.021, allocations: 4 kB / 1.038 GB, free: 348 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08085/1.102, allocations: 67.38 MB / 1.104 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/1.102, allocations: 196.5 kB / 1.104 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/4.022, allocations: 0 / 1.104 GB, free: 13.52 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)