Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_8_Buildings_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.001098/0.001098, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001082/0.001082, allocations: 195.1 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.119/1.119, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.463/1.463, allocations: 292.3 MB / 0.5484 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 65.67 kB / 0.6709 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1613, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.4525/0.6138, allocations: 171.5 MB / 0.9503 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002778/0.6167, allocations: 2.309 MB / 0.9526 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.6169, allocations: 10.67 kB / 0.9526 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005323/0.6174, allocations: 192.7 kB / 0.9528 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.6189, allocations: 0.8517 MB / 0.9536 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.6203, allocations: 0.774 MB / 0.9543 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001198/0.6215, allocations: 1.346 MB / 0.9557 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.6218, allocations: 278.9 kB / 0.9559 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005149/0.6223, allocations: 417.7 kB / 0.9563 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.6227, allocations: 327.8 kB / 0.9566 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.6227, allocations: 20.81 kB / 0.9567 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.6242, allocations: 1.169 MB / 0.9578 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.6244, allocations: 138.1 kB / 0.9579 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002586/0.6247, allocations: 224 kB / 0.9581 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.6259, allocations: 0.9581 MB / 0.9591 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6259, allocations: 0.5625 kB / 0.9591 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.61e-07/0.6259, allocations: 0 / 0.9591 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.6259, allocations: 0.5625 kB / 0.9591 GB, free: 5.355 MB / 0.7325 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.001214/0.6271, allocations: 0.8084 MB / 0.9599 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.6272, allocations: 9.688 kB / 0.9599 GB, free: 20.8 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.6272, allocations: 69.44 kB / 0.9599 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.6283, allocations: 182.5 kB / 0.9601 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.6288, allocations: 373.6 kB / 0.9605 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.6288, allocations: 27.75 kB / 0.9605 GB, free: 20.48 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.6288, allocations: 35 kB / 0.9605 GB, free: 20.47 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.6293, allocations: 368.9 kB / 0.9609 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.6294, allocations: 1.312 kB / 0.9609 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.6294, allocations: 18.42 kB / 0.9609 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.6294, allocations: 12.95 kB / 0.9609 GB, free: 20.37 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.6299, allocations: 263 kB / 0.9612 GB, free: 20.36 MB / 0.7481 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.001394/0.6313, allocations: 1.667 MB / 0.9628 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.6316, allocations: 207.1 kB / 0.963 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.6318, allocations: 122.2 kB / 0.9631 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000906/0.6327, allocations: 0.8682 MB / 0.964 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.6327, allocations: 36.28 kB / 0.964 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=23): time 1.724e-06/0.6328, allocations: 1.438 kB / 0.964 GB, free: 18.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23): time 0.0007563/0.6335, allocations: 361 kB / 0.9643 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.6336, allocations: 54.72 kB / 0.9644 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.6339, allocations: 419 kB / 0.9648 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.634, allocations: 34.3 kB / 0.9648 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.6341, allocations: 209.4 kB / 0.965 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.6341, allocations: 84.56 kB / 0.9651 GB, free: 17.78 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.657e-05/0.6342, allocations: 54.14 kB / 0.9652 GB, free: 17.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.6343, allocations: 350.7 kB / 0.9655 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.6345, allocations: 86.7 kB / 0.9656 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.6346, allocations: 126.7 kB / 0.9657 GB, free: 17.41 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.635, allocations: 217 kB / 0.9659 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.635, allocations: 0 / 0.9659 GB, free: 17.37 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004431/0.6354, allocations: 282.1 kB / 0.9662 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6354, allocations: 6.688 kB / 0.9662 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.6355, allocations: 0.9688 kB / 0.9662 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.6355, allocations: 2.312 kB / 0.9662 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.6357, allocations: 51.81 kB / 0.9662 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.6357, allocations: 2.156 kB / 0.9662 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.6359, allocations: 42.27 kB / 0.9663 GB, free: 17.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.6359, allocations: 18.58 kB / 0.9663 GB, free: 17.29 MB / 0.7481 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.0001389/0.6361, allocations: 160.4 kB / 0.9664 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.409e-05/0.6362, allocations: 42.84 kB / 0.9665 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004877/0.6367, allocations: 287.1 kB / 0.9668 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6367, allocations: 2.656 kB / 0.9668 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.6367, allocations: 2.344 kB / 0.9668 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.6367, allocations: 1.312 kB / 0.9668 GB, free: 17.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009889/0.6377, allocations: 0.8129 MB / 0.9676 GB, free: 16.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6377, allocations: 2.656 kB / 0.9676 GB, free: 16.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.6379, allocations: 57.98 kB / 0.9676 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6379, allocations: 3.672 kB / 0.9676 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.6379, allocations: 9.5 kB / 0.9676 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.6379, allocations: 3.656 kB / 0.9676 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6379, allocations: 4.531 kB / 0.9676 GB, free: 16.73 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000624/0.6386, allocations: 0.5051 MB / 0.9681 GB, free: 16.52 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.6387, allocations: 146.1 kB / 0.9683 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.6388, allocations: 7.812 kB / 0.9683 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.639, allocations: 22.12 kB / 0.9683 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.6391, allocations: 18.78 kB / 0.9683 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.6391, allocations: 11.31 kB / 0.9683 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002535/0.6394, allocations: 299.8 kB / 0.9686 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6394, allocations: 1.094 kB / 0.9686 GB, free: 16.32 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003773/0.6398, allocations: 116 kB / 0.9687 GB, free: 16.3 MB / 0.7481 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.001075/0.6408, allocations: 1.137 MB / 0.9698 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003909/0.6412, allocations: 211.2 kB / 0.97 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6413, allocations: 4.062 kB / 0.97 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.6415, allocations: 112.8 kB / 0.9701 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009508/0.6424, allocations: 216.2 kB / 0.9703 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.6463, allocations: 3.844 MB / 0.9741 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.6466, allocations: 0.8263 MB / 0.9749 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002542/0.6469, allocations: 84.16 kB / 0.975 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.6471, allocations: 136.4 kB / 0.9751 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of SimCode: time 2e-07/0.6471, allocations: 0 / 0.9751 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.6658, allocations: 11.49 MB / 0.9863 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.666, allocations: 235.2 kB / 0.9866 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.349, allocations: 1.203 kB / 0.9866 GB, free: 11.3 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_8_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)