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.001533/0.001533, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.00148, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.686/1.686, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003118/0.003119, allocations: 282.6 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.13/1.13, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002875/0.002875, allocations: 110.1 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2392, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.7673/1.007, allocations: 173.8 MB / 0.85 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005609/1.012, allocations: 2.29 MB / 0.8522 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006423/1.013, allocations: 18.75 kB / 0.8523 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/1.014, allocations: 233.5 kB / 0.8525 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003/1.017, allocations: 0.9383 MB / 0.8534 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002617/1.02, allocations: 0.8081 MB / 0.8542 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001636/1.021, allocations: 0.9742 MB / 0.8551 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005834/1.022, allocations: 324.7 kB / 0.8555 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008335/1.023, allocations: 454.8 kB / 0.8559 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004651/1.023, allocations: 308.7 kB / 0.8562 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.32e-05/1.023, allocations: 34.12 kB / 0.8562 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/1.026, allocations: 0.9952 MB / 0.8572 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/1.026, allocations: 148.2 kB / 0.8573 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002933/1.026, allocations: 235.1 kB / 0.8576 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/1.028, allocations: 0.9012 MB / 0.8584 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.028, allocations: 4 kB / 0.8584 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/1.028, allocations: 1.812 kB / 0.8584 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.714e-05/1.028, allocations: 0 / 0.8584 GB, free: 7.602 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.001532/1.029, allocations: 0.8047 MB / 0.8592 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/1.029, allocations: 11.75 kB / 0.8592 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.381e-05/1.029, allocations: 71.53 kB / 0.8593 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/1.031, allocations: 181.8 kB / 0.8595 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/1.031, allocations: 367.9 kB / 0.8598 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/1.031, allocations: 25.2 kB / 0.8598 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-05/1.032, allocations: 32.19 kB / 0.8599 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/1.032, allocations: 372.7 kB / 0.8602 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/1.032, allocations: 0 / 0.8602 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/1.032, allocations: 12.59 kB / 0.8602 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/1.032, allocations: 10.22 kB / 0.8603 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005152/1.033, allocations: 262.3 kB / 0.8605 GB, free: 6.027 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.002092/1.035, allocations: 1.686 MB / 0.8622 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/1.035, allocations: 210.6 kB / 0.8624 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/1.036, allocations: 115.2 kB / 0.8625 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/1.037, allocations: 0.8656 MB / 0.8633 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/1.037, allocations: 40.97 kB / 0.8633 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 4.168e-06/1.037, allocations: 3.984 kB / 0.8634 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0009496/1.038, allocations: 350.7 kB / 0.8637 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/1.038, allocations: 58.06 kB / 0.8637 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/1.039, allocations: 422.6 kB / 0.8641 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/1.039, allocations: 36.02 kB / 0.8642 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/1.039, allocations: 216.5 kB / 0.8644 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.875e-05/1.039, allocations: 88.97 kB / 0.8645 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.244e-05/1.039, allocations: 45.42 kB / 0.8645 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002138/1.039, allocations: 361.3 kB / 0.8649 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/1.04, allocations: 74.95 kB / 0.8649 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/1.04, allocations: 125.6 kB / 0.865 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/1.041, allocations: 209.2 kB / 0.8652 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/1.041, allocations: 0 / 0.8652 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005364/1.041, allocations: 286 kB / 0.8655 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/1.041, allocations: 5.156 kB / 0.8655 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.041, allocations: 2.406 kB / 0.8655 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/1.041, allocations: 1.562 kB / 0.8655 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/1.041, allocations: 52.5 kB / 0.8656 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.041, allocations: 3.125 kB / 0.8656 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/1.042, allocations: 41.7 kB / 0.8656 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.962e-05/1.042, allocations: 10.81 kB / 0.8656 GB, free: 1.668 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.0003791/1.042, allocations: 161.1 kB / 0.8658 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/1.042, allocations: 43.97 kB / 0.8658 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006107/1.043, allocations: 284.4 kB / 0.8661 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/1.043, allocations: 2.781 kB / 0.8661 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/1.043, allocations: 0 / 0.8661 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/1.043, allocations: 11.86 kB / 0.8661 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/1.044, allocations: 0.8082 MB / 0.8669 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.044, allocations: 6.969 kB / 0.8669 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/1.044, allocations: 47.2 kB / 0.867 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/1.044, allocations: 2.719 kB / 0.867 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/1.044, allocations: 9.062 kB / 0.867 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/1.044, allocations: 4.922 kB / 0.867 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.044, allocations: 5.719 kB / 0.867 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008143/1.045, allocations: 0.4983 MB / 0.8675 GB, free: 308 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/1.045, allocations: 145.9 kB / 0.8676 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.101e-05/1.046, allocations: 8.812 kB / 0.8676 GB, free: 156 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/1.046, allocations: 15.73 kB / 0.8676 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/1.046, allocations: 27.06 kB / 0.8677 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/1.046, allocations: 10.84 kB / 0.8677 GB, free: 128 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003522/1.046, allocations: 300.4 kB / 0.8679 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.304e-06/1.046, allocations: 3.938 kB / 0.868 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004693/1.047, allocations: 120.9 kB / 0.8681 GB, free: 15.91 MB / 0.5919 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.001589/1.048, allocations: 1.133 MB / 0.8692 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005152/1.049, allocations: 222.2 kB / 0.8694 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.049, allocations: 0 / 0.8694 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/1.049, allocations: 115.8 kB / 0.8695 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/1.05, allocations: 230.5 kB / 0.8697 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/1.056, allocations: 3.73 MB / 0.8734 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/1.056, allocations: 0.8242 MB / 0.8742 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003487/1.056, allocations: 80.19 kB / 0.8742 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002236/1.057, allocations: 137.1 kB / 0.8744 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/1.057, allocations: 0 / 0.8744 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/1.1, allocations: 12.02 MB / 0.8861 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.203/10.3, allocations: 16.2 kB / 0.8861 GB, free: 4.098 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_Orifice.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)