Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.Orifice,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008201/0.0008202, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.004703/0.004703, allocations: 173.6 kB / 16.27 MB, free: 6.613 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.187/1.187, allocations: 223.2 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001596/0.001596, allocations: 266.7 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 30.82/30.82, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006172/0.0006172, allocations: 15.69 kB / 0.5988 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2346, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.8129/1.048, allocations: 169.3 MB / 0.8506 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005416/1.053, allocations: 2.292 MB / 0.8528 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009345/1.054, allocations: 15.81 kB / 0.8528 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009266/1.055, allocations: 185.6 kB / 0.853 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003381/1.058, allocations: 0.8815 MB / 0.8539 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/1.061, allocations: 0.7539 MB / 0.8546 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002436/1.064, allocations: 1.336 MB / 0.8559 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005857/1.064, allocations: 284.1 kB / 0.8562 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009611/1.065, allocations: 405.8 kB / 0.8566 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006104/1.066, allocations: 329.4 kB / 0.8569 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.371e-05/1.066, allocations: 18.91 kB / 0.8569 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/1.069, allocations: 1.156 MB / 0.858 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/1.069, allocations: 145.8 kB / 0.8582 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003074/1.069, allocations: 240.7 kB / 0.8584 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/1.071, allocations: 0.9462 MB / 0.8593 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.071, allocations: 0 / 0.8593 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.465e-06/1.071, allocations: 2.938 kB / 0.8593 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.037e-05/1.071, allocations: 0 / 0.8593 GB, free: 8.09 MB / 0.5762 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.001346/1.073, allocations: 0.7331 MB / 0.86 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.073, allocations: 7.938 kB / 0.86 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.834e-05/1.073, allocations: 70.33 kB / 0.8601 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/1.074, allocations: 182.5 kB / 0.8603 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005883/1.075, allocations: 372.5 kB / 0.8606 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.075, allocations: 20.44 kB / 0.8607 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/1.075, allocations: 38.16 kB / 0.8607 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/1.076, allocations: 377 kB / 0.8611 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.076, allocations: 0 / 0.8611 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/1.076, allocations: 10.78 kB / 0.8611 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/1.076, allocations: 19.28 kB / 0.8611 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/1.076, allocations: 263.4 kB / 0.8613 GB, free: 6.559 MB / 0.5762 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.002045/1.078, allocations: 1.682 MB / 0.863 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/1.079, allocations: 220.8 kB / 0.8632 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/1.079, allocations: 118.2 kB / 0.8633 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/1.08, allocations: 0.8818 MB / 0.8642 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/1.08, allocations: 45.23 kB / 0.8642 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 1.272e-06/1.08, allocations: 0 / 0.8642 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0009127/1.081, allocations: 368.5 kB / 0.8646 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/1.081, allocations: 58.02 kB / 0.8646 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000507/1.082, allocations: 416.4 kB / 0.865 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.017e-05/1.082, allocations: 29.7 kB / 0.865 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/1.082, allocations: 218 kB / 0.8652 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/1.082, allocations: 81.67 kB / 0.8653 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/1.082, allocations: 23.89 kB / 0.8654 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.082, allocations: 361.4 kB / 0.8657 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/1.082, allocations: 82.94 kB / 0.8658 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/1.083, allocations: 125.2 kB / 0.8659 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/1.083, allocations: 224.8 kB / 0.8661 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.083, allocations: 2.562 kB / 0.8661 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005474/1.084, allocations: 294.3 kB / 0.8664 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.084, allocations: 7.594 kB / 0.8664 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.084, allocations: 2.938 kB / 0.8664 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/1.084, allocations: 0.5625 kB / 0.8664 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/1.084, allocations: 56.03 kB / 0.8665 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/1.084, allocations: 4.031 kB / 0.8665 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/1.084, allocations: 46.95 kB / 0.8665 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-05/1.084, allocations: 12.72 kB / 0.8665 GB, free: 2.203 MB / 0.5762 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.0001851/1.084, allocations: 167.4 kB / 0.8667 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/1.085, allocations: 38.28 kB / 0.8667 GB, free: 2.035 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005977/1.085, allocations: 288.8 kB / 0.867 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.085, allocations: 6.641 kB / 0.867 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.085, allocations: 3.156 kB / 0.867 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.085, allocations: 3.938 kB / 0.867 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/1.086, allocations: 0.826 MB / 0.8678 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.087, allocations: 7.031 kB / 0.8678 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/1.087, allocations: 51.53 kB / 0.8679 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/1.087, allocations: 2.906 kB / 0.8679 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/1.087, allocations: 9.375 kB / 0.8679 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/1.087, allocations: 2.562 kB / 0.8679 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.087, allocations: 3.938 kB / 0.8679 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008255/1.088, allocations: 0.5254 MB / 0.8684 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/1.088, allocations: 139.7 kB / 0.8685 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/1.088, allocations: 10.8 kB / 0.8685 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/1.088, allocations: 30.08 kB / 0.8686 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/1.088, allocations: 23.83 kB / 0.8686 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/1.088, allocations: 9.75 kB / 0.8686 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003448/1.089, allocations: 303.9 kB / 0.8689 GB, free: 468 kB / 0.5762 GB Notification: Performance of sort global known variables: time 3.91e-07/1.089, allocations: 0 / 0.8689 GB, free: 468 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000487/1.089, allocations: 116 kB / 0.869 GB, free: 448 kB / 0.5762 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.001526/1.091, allocations: 1.145 MB / 0.8701 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004974/1.091, allocations: 214.2 kB / 0.8703 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.091, allocations: 3.344 kB / 0.8703 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/1.091, allocations: 116.7 kB / 0.8704 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/1.093, allocations: 224.7 kB / 0.8706 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005348/1.098, allocations: 3.946 MB / 0.8745 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/1.098, allocations: 0.8299 MB / 0.8753 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003814/1.099, allocations: 82.72 kB / 0.8754 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/1.099, allocations: 136.2 kB / 0.8755 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of SimCode: time 1.793e-06/1.099, allocations: 0 / 0.8755 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/1.127, allocations: 11.39 MB / 0.8866 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/1.127, allocations: 252.8 kB / 0.8869 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/3.171, allocations: 0 / 0.8869 GB, free: 0.8164 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)