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.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.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.0009302/0.0009302, allocations: 99.86 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.0009528/0.0009529, allocations: 177.3 kB / 15.94 MB, free: 228 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.249/1.249, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.934/0.934, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002856, allocations: 12 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1487, allocations: 83.42 MB / 0.5974 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.Orifice): time 0.377/0.5257, allocations: 145.2 MB / 0.7392 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003683/0.5295, allocations: 2.317 MB / 0.7414 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.5298, allocations: 11.94 kB / 0.7414 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007655/0.5305, allocations: 234.8 kB / 0.7417 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001858/0.5324, allocations: 0.7741 MB / 0.7424 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.5337, allocations: 0.5521 MB / 0.743 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008014/0.5345, allocations: 0.5851 MB / 0.7435 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004466/0.535, allocations: 261.8 kB / 0.7438 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008893/0.5359, allocations: 462.5 kB / 0.7442 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.5362, allocations: 214.1 kB / 0.7444 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.76e-05/0.5362, allocations: 24 kB / 0.7445 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.5372, allocations: 0.4892 MB / 0.7449 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.5374, allocations: 123.9 kB / 0.7451 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.5375, allocations: 109.5 kB / 0.7452 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000703/0.5382, allocations: 0.5317 MB / 0.7457 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.5383, allocations: 0 / 0.7457 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5383, allocations: 0 / 0.7457 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.5383, allocations: 0 / 0.7457 GB, free: 3.648 MB / 0.5606 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.001078/0.5394, allocations: 0.7215 MB / 0.7464 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5394, allocations: 8.594 kB / 0.7464 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.991e-05/0.5395, allocations: 69.41 kB / 0.7465 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.5407, allocations: 190.5 kB / 0.7466 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.5413, allocations: 363.3 kB / 0.747 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.5413, allocations: 24.66 kB / 0.747 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.5414, allocations: 28 kB / 0.747 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.542, allocations: 374.8 kB / 0.7474 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.542, allocations: 3.938 kB / 0.7474 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.542, allocations: 16.84 kB / 0.7474 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.5421, allocations: 11.14 kB / 0.7474 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005057/0.5426, allocations: 261 kB / 0.7477 GB, free: 1.734 MB / 0.5606 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.00168/0.5443, allocations: 1.678 MB / 0.7493 GB, free: 104 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.5447, allocations: 219.8 kB / 0.7495 GB, free: 15.91 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007765/0.5455, allocations: 0.714 MB / 0.7502 GB, free: 15.07 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.5455, allocations: 38.56 kB / 0.7503 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.5455, allocations: 3.938 kB / 0.7503 GB, free: 15.02 MB / 0.5763 GB Notification: Performance of matching and sorting (n=23): time 0.0008685/0.5464, allocations: 363.5 kB / 0.7506 GB, free: 14.71 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.5465, allocations: 59.34 kB / 0.7507 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004489/0.5469, allocations: 421.7 kB / 0.7511 GB, free: 14.27 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.5469, allocations: 29.7 kB / 0.7511 GB, free: 14.24 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.5471, allocations: 216.2 kB / 0.7513 GB, free: 14.02 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.5472, allocations: 82.86 kB / 0.7514 GB, free: 13.94 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.5472, allocations: 4 kB / 0.7514 GB, free: 13.94 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5473, allocations: 354.8 kB / 0.7517 GB, free: 13.58 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.5475, allocations: 79.95 kB / 0.7518 GB, free: 13.5 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.5477, allocations: 129.5 kB / 0.7519 GB, free: 13.37 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.5479, allocations: 103.8 kB / 0.752 GB, free: 13.27 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.5479, allocations: 3.953 kB / 0.752 GB, free: 13.26 MB / 0.5763 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005054/0.5485, allocations: 289.8 kB / 0.7523 GB, free: 12.97 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.5485, allocations: 4 kB / 0.7523 GB, free: 12.97 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5485, allocations: 4 kB / 0.7523 GB, free: 12.96 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.5485, allocations: 0.6875 kB / 0.7523 GB, free: 12.96 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.5487, allocations: 55.91 kB / 0.7524 GB, free: 12.91 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.5488, allocations: 0 / 0.7524 GB, free: 12.91 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.549, allocations: 47.7 kB / 0.7524 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.549, allocations: 11.98 kB / 0.7524 GB, free: 12.85 MB / 0.5763 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.5492, allocations: 157.8 kB / 0.7526 GB, free: 12.69 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.5493, allocations: 47.48 kB / 0.7526 GB, free: 12.64 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000561/0.5498, allocations: 304.6 kB / 0.7529 GB, free: 12.34 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.5499, allocations: 4 kB / 0.7529 GB, free: 12.33 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5499, allocations: 0 / 0.7529 GB, free: 12.33 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5499, allocations: 0 / 0.7529 GB, free: 12.33 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.5511, allocations: 0.8201 MB / 0.7537 GB, free: 11.44 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.5511, allocations: 3 kB / 0.7537 GB, free: 11.44 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.5513, allocations: 51.91 kB / 0.7538 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.5513, allocations: 112 / 0.7538 GB, free: 11.39 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.5514, allocations: 11.94 kB / 0.7538 GB, free: 11.38 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5514, allocations: 4 kB / 0.7538 GB, free: 11.37 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5514, allocations: 3.938 kB / 0.7538 GB, free: 11.37 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007851/0.5522, allocations: 0.5919 MB / 0.7544 GB, free: 10.7 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.5523, allocations: 148.6 kB / 0.7545 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.5524, allocations: 8 kB / 0.7545 GB, free: 10.53 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.5527, allocations: 27.97 kB / 0.7545 GB, free: 10.5 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.5528, allocations: 23.78 kB / 0.7546 GB, free: 10.48 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.5528, allocations: 16.19 kB / 0.7546 GB, free: 10.46 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0002931/0.5531, allocations: 295.1 kB / 0.7549 GB, free: 10.18 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5531, allocations: 0 / 0.7549 GB, free: 10.18 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0004041/0.5535, allocations: 115.8 kB / 0.755 GB, free: 10.07 MB / 0.5763 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 (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.001372/0.5549, allocations: 1.629 MB / 0.7566 GB, free: 8.383 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0004478/0.5553, allocations: 220.8 kB / 0.7568 GB, free: 8.168 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5554, allocations: 0 / 0.7568 GB, free: 8.168 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.5556, allocations: 117.1 kB / 0.7569 GB, free: 8.055 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5566, allocations: 222.7 kB / 0.7571 GB, free: 7.848 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.5605, allocations: 2.978 MB / 0.76 GB, free: 4.801 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.5609, allocations: 0.8314 MB / 0.7608 GB, free: 3.945 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0002834/0.5611, allocations: 83.28 kB / 0.7609 GB, free: 3.863 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.5613, allocations: 143.4 kB / 0.761 GB, free: 3.723 MB / 0.5763 GB Notification: Performance of SimCode: time 2.71e-07/0.5613, allocations: 4 kB / 0.761 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.5854, allocations: 11.44 MB / 0.7722 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.5856, allocations: 222.2 kB / 0.7724 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.776/2.362, allocations: 0 / 0.7724 GB, free: 8.348 MB / 0.5919 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/linux/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) Environment - environmentSimulation: