Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009209/0.000921, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001024/0.001024, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9328/0.9328, allocations: 143.3 MB / 434.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.0004148, allocations: 12 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1707, allocations: 83.41 MB / 0.5974 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones): time 0.4774/0.6481, allocations: 239.6 MB / 0.8314 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02407/0.6723, allocations: 17.16 MB / 0.8481 GB, free: 11.08 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.6752, allocations: 63.56 kB / 0.8482 GB, free: 11.02 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00485/0.68, allocations: 1.649 MB / 0.8498 GB, free: 9.359 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01361/0.6937, allocations: 4.949 MB / 0.8546 GB, free: 4.398 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006397/0.7001, allocations: 2.2 MB / 0.8568 GB, free: 2.227 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.3555/1.056, allocations: 4.393 MB / 0.861 GB, free: 9.559 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003984/1.06, allocations: 1.95 MB / 0.863 GB, free: 25.3 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004856/1.064, allocations: 2.262 MB / 0.8652 GB, free: 25.3 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/1.067, allocations: 1.721 MB / 0.8668 GB, free: 25.29 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005202/1.068, allocations: 155.7 kB / 0.867 GB, free: 25.29 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006679/1.075, allocations: 2.436 MB / 0.8694 GB, free: 25.29 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.00139/1.076, allocations: 1.043 MB / 0.8704 GB, free: 25.29 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/1.077, allocations: 0.6671 MB / 0.871 GB, free: 25.25 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005496/1.083, allocations: 4.286 MB / 0.8752 GB, free: 24.94 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/1.083, allocations: 0 / 0.8752 GB, free: 24.94 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.943e-06/1.083, allocations: 4 kB / 0.8752 GB, free: 24.94 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.968e-05/1.083, allocations: 0.8438 kB / 0.8752 GB, free: 24.94 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.00936/1.092, allocations: 3.468 MB / 0.8786 GB, free: 23.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/1.092, allocations: 9.406 kB / 0.8786 GB, free: 23.41 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007929/1.093, allocations: 370.3 kB / 0.879 GB, free: 23.36 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006662/1.1, allocations: 0.9271 MB / 0.8799 GB, free: 23.19 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005111/1.105, allocations: 1.783 MB / 0.8816 GB, free: 22.73 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/1.105, allocations: 194 kB / 0.8818 GB, free: 22.72 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005776/1.106, allocations: 264 kB / 0.8821 GB, free: 22.72 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006599/1.112, allocations: 3.29 MB / 0.8853 GB, free: 22.43 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-05/1.112, allocations: 13.8 kB / 0.8853 GB, free: 22.42 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/1.113, allocations: 107.5 kB / 0.8854 GB, free: 22.42 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/1.113, allocations: 143.7 kB / 0.8855 GB, free: 22.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006956/1.12, allocations: 3.474 MB / 0.8889 GB, free: 22.38 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.01807/1.138, allocations: 12.12 MB / 0.9007 GB, free: 16.35 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004822/1.143, allocations: 3.49 MB / 0.9042 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/1.144, allocations: 1.501 MB / 0.9056 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.053e-05/1.144, allocations: 70.12 kB / 0.9057 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=278): time 4.809e-06/1.145, allocations: 0 / 0.9057 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of matching and sorting (n=278): time 0.006841/1.151, allocations: 3.853 MB / 0.9095 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/1.151, allocations: 80.44 kB / 0.9095 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00188/1.153, allocations: 1.371 MB / 0.9109 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000308/1.154, allocations: 77.02 kB / 0.9109 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005417/1.154, allocations: 0.9834 MB / 0.9119 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000778/1.155, allocations: 0.9426 MB / 0.9128 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/1.155, allocations: 49.56 kB / 0.9129 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.155, allocations: 408.1 kB / 0.9133 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/1.157, allocations: 1.08 MB / 0.9143 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/1.159, allocations: 1.336 MB / 0.9156 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/1.161, allocations: 1.279 MB / 0.9169 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/1.161, allocations: 0 / 0.9169 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.004598/1.165, allocations: 2.952 MB / 0.9198 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/1.165, allocations: 9.688 kB / 0.9198 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/1.165, allocations: 3.312 kB / 0.9198 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/1.165, allocations: 14.69 kB / 0.9198 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002148/1.168, allocations: 0.5071 MB / 0.9203 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-05/1.168, allocations: 21.08 kB / 0.9203 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/1.171, allocations: 388.9 kB / 0.9207 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/1.171, allocations: 84.12 kB / 0.9207 GB, free: 11.67 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001501/1.173, allocations: 0.6384 MB / 0.9214 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006478/1.173, allocations: 229.8 kB / 0.9216 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004628/1.178, allocations: 3.105 MB / 0.9246 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/1.178, allocations: 27.16 kB / 0.9246 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/1.178, allocations: 0 / 0.9246 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003514/1.182, allocations: 2.643 MB / 0.9272 GB, free: 11 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01051/1.192, allocations: 6.186 MB / 0.9333 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/1.192, allocations: 0 / 0.9333 GB, free: 9.93 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002507/1.195, allocations: 0.5418 MB / 0.9338 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.334e-05/1.195, allocations: 10.44 kB / 0.9338 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00025/1.195, allocations: 59.58 kB / 0.9339 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.264e-05/1.195, allocations: 12.81 kB / 0.9339 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.195, allocations: 0 / 0.9339 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006229/1.201, allocations: 4.538 MB / 0.9383 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001756/1.203, allocations: 0.6108 MB / 0.9389 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005193/1.204, allocations: 51.73 kB / 0.939 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002479/1.206, allocations: 227.8 kB / 0.9392 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003347/1.206, allocations: 160.8 kB / 0.9393 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/1.207, allocations: 86.28 kB / 0.9394 GB, free: 8.484 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001283/1.208, allocations: 0.9318 MB / 0.9403 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.8e-07/1.208, allocations: 1.859 kB / 0.9403 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002579/1.21, allocations: 0.9761 MB / 0.9413 GB, free: 8.113 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,oriEasTop.mExc,volTop.dynBal.medium.Xi[1],volTop.dynBal.U,volTop.dynBal.m,volWes.dynBal.medium.Xi[1],volWes.dynBal.U,volWes.dynBal.m) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007306/1.218, allocations: 5.379 MB / 0.9465 GB, free: 6.383 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004212/1.222, allocations: 2.733 MB / 0.9492 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.222, allocations: 8.062 kB / 0.9492 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/1.224, allocations: 1.493 MB / 0.9507 GB, free: 3.516 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007897/1.232, allocations: 1.258 MB / 0.9519 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/1.251, allocations: 11.76 MB / 0.9634 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/1.253, allocations: 1.944 MB / 0.9653 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004237/1.257, allocations: 0.8417 MB / 0.9661 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002124/1.259, allocations: 1.091 MB / 0.9672 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of SimCode: time 1.452e-06/1.259, allocations: 1.859 kB / 0.9672 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1023/1.362, allocations: 66.72 MB / 1.032 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/1.362, allocations: 205 kB / 1.033 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.261/4.623, allocations: 7.938 kB / 1.033 GB, free: 2.402 MB / 0.7637 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ReverseBuoyancy3Zones.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ReverseBuoyancy3Zones.pipe 2>&1) Environment - environmentSimulation: