Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice",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.0006935/0.0006935, allocations: 90.52 kB / 15.36 MB, free: 0.7344 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.003803/0.003803, allocations: 170.1 kB / 16.26 MB, free: 6.617 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.162/1.162, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8628/0.8628, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002683, allocations: 8 kB / 0.5165 GB, free: 11.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1256, allocations: 83.41 MB / 0.598 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.363/0.4887, allocations: 169.4 MB / 0.7633 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00312/0.4919, allocations: 2.296 MB / 0.7656 GB, free: 272 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.4923, allocations: 7.938 kB / 0.7656 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005483/0.4928, allocations: 190.8 kB / 0.7658 GB, free: 72 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.4946, allocations: 0.8792 MB / 0.7666 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.4962, allocations: 0.7585 MB / 0.7674 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.4975, allocations: 1.341 MB / 0.7687 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004232/0.4979, allocations: 282.8 kB / 0.769 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006085/0.4986, allocations: 402.4 kB / 0.7693 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.4989, allocations: 330.6 kB / 0.7697 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.499, allocations: 16 kB / 0.7697 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.5005, allocations: 1.161 MB / 0.7708 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.5007, allocations: 139.5 kB / 0.7709 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.5009, allocations: 252.5 kB / 0.7712 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.502, allocations: 0.958 MB / 0.7721 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.502, allocations: 0 / 0.7721 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.383e-06/0.502, allocations: 0 / 0.7721 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.502, allocations: 0 / 0.7721 GB, free: 9.562 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001027/0.5031, allocations: 0.7283 MB / 0.7728 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5031, allocations: 12.03 kB / 0.7728 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.949e-05/0.5032, allocations: 66.53 kB / 0.7729 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.5043, allocations: 187.6 kB / 0.7731 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.5048, allocations: 373.5 kB / 0.7734 GB, free: 8.117 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.5048, allocations: 20.66 kB / 0.7735 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.679e-05/0.5049, allocations: 31.94 kB / 0.7735 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005492/0.5054, allocations: 377.1 kB / 0.7738 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5055, allocations: 7.938 kB / 0.7739 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.5055, allocations: 8 kB / 0.7739 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.5055, allocations: 16.44 kB / 0.7739 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.506, allocations: 274 kB / 0.7741 GB, free: 7.371 MB / 0.5919 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.001521/0.5075, allocations: 1.675 MB / 0.7758 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.5079, allocations: 213.2 kB / 0.776 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.5081, allocations: 116.8 kB / 0.7761 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008795/0.509, allocations: 0.8873 MB / 0.777 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.509, allocations: 46.5 kB / 0.777 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.332e-06/0.509, allocations: 0 / 0.777 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.000798/0.5098, allocations: 368.2 kB / 0.7774 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.5099, allocations: 55.41 kB / 0.7774 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.5103, allocations: 418 kB / 0.7778 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.5103, allocations: 33.7 kB / 0.7778 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.5104, allocations: 216.2 kB / 0.778 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.528e-05/0.5105, allocations: 82.75 kB / 0.7781 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.5105, allocations: 25.7 kB / 0.7781 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5106, allocations: 358.7 kB / 0.7785 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.5108, allocations: 83.95 kB / 0.7786 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.511, allocations: 135.8 kB / 0.7787 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.5114, allocations: 214.9 kB / 0.7789 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5114, allocations: 3.938 kB / 0.7789 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004746/0.5119, allocations: 301 kB / 0.7792 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.5119, allocations: 4 kB / 0.7792 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.5119, allocations: 4 kB / 0.7792 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.512, allocations: 0.625 kB / 0.7792 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/0.5122, allocations: 55.91 kB / 0.7793 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.5122, allocations: 5.359 kB / 0.7793 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.5124, allocations: 51.55 kB / 0.7793 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.5124, allocations: 11.98 kB / 0.7793 GB, free: 1.66 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001383/0.5126, allocations: 157.8 kB / 0.7795 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.5127, allocations: 47.94 kB / 0.7795 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005327/0.5132, allocations: 297 kB / 0.7798 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.5132, allocations: 4 kB / 0.7798 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.5132, allocations: 0 / 0.7798 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.5132, allocations: 3.938 kB / 0.7798 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001069/0.5143, allocations: 0.8237 MB / 0.7806 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5143, allocations: 4 kB / 0.7806 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.5145, allocations: 47.91 kB / 0.7807 GB, free: 200 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.5146, allocations: 4 kB / 0.7807 GB, free: 196 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.5146, allocations: 8 kB / 0.7807 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.5146, allocations: 4 kB / 0.7807 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5146, allocations: 0 / 0.7807 GB, free: 184 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007049/0.5153, allocations: 0.5257 MB / 0.7812 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.5154, allocations: 148.5 kB / 0.7813 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.5155, allocations: 8 kB / 0.7813 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.5158, allocations: 27.97 kB / 0.7814 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.5158, allocations: 15.98 kB / 0.7814 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.5158, allocations: 8 kB / 0.7814 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002696/0.5161, allocations: 307.1 kB / 0.7817 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5161, allocations: 3.938 kB / 0.7817 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003721/0.5165, allocations: 119.8 kB / 0.7818 GB, free: 14.98 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.001139/0.5177, allocations: 1.139 MB / 0.7829 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004325/0.5181, allocations: 227.6 kB / 0.7831 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5181, allocations: 0 / 0.7831 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.5183, allocations: 116.3 kB / 0.7832 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.5194, allocations: 223.4 kB / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.5237, allocations: 3.94 MB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.524, allocations: 0.8308 MB / 0.7881 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002568/0.5243, allocations: 82.12 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.5245, allocations: 135.4 kB / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.5245, allocations: 0 / 0.7883 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.932/2.456, allocations: 11.42 MB / 0.7995 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/2.456, allocations: 245.3 kB / 0.7997 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/4.554, allocations: 0 / 0.7997 GB, free: 12.76 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)