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.005215/0.005215, allocations: 100.9 kB / 15.73 MB, free: 6 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.001454/0.001454, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002394/0.002394, allocations: 290.5 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 21.54/21.54, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 95.3 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2223, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.7994/1.022, allocations: 173.8 MB / 0.9356 GB, free: 5.309 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004517/1.026, allocations: 2.309 MB / 0.9379 GB, free: 2.996 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004659/1.027, allocations: 19.88 kB / 0.9379 GB, free: 2.977 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008436/1.028, allocations: 222.4 kB / 0.9381 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002465/1.03, allocations: 0.9307 MB / 0.939 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/1.032, allocations: 0.8272 MB / 0.9398 GB, free: 1 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001391/1.034, allocations: 0.974 MB / 0.9408 GB, free: 24 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005416/1.034, allocations: 327 kB / 0.9411 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007562/1.035, allocations: 450.3 kB / 0.9415 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004346/1.036, allocations: 318.6 kB / 0.9418 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.012e-05/1.036, allocations: 36 kB / 0.9419 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001837/1.038, allocations: 0.9859 MB / 0.9428 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/1.038, allocations: 143.6 kB / 0.943 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/1.038, allocations: 242.8 kB / 0.9432 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/1.039, allocations: 0.9125 MB / 0.9441 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.039, allocations: 0 / 0.9441 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.847e-06/1.039, allocations: 0 / 0.9441 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.877e-06/1.039, allocations: 3.938 kB / 0.9441 GB, free: 12.63 MB / 0.7012 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.001406/1.041, allocations: 0.8247 MB / 0.9449 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/1.041, allocations: 8.031 kB / 0.9449 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.259e-05/1.041, allocations: 70.53 kB / 0.945 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/1.042, allocations: 179.5 kB / 0.9451 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00073/1.043, allocations: 401.7 kB / 0.9455 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/1.043, allocations: 20.66 kB / 0.9455 GB, free: 11.04 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.993e-05/1.043, allocations: 32 kB / 0.9456 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/1.044, allocations: 369.1 kB / 0.9459 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/1.044, allocations: 4 kB / 0.9459 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/1.044, allocations: 12 kB / 0.9459 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/1.044, allocations: 11.94 kB / 0.946 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005084/1.044, allocations: 262 kB / 0.9462 GB, free: 10.34 MB / 0.7012 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.002019/1.046, allocations: 1.676 MB / 0.9478 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/1.047, allocations: 202.5 kB / 0.948 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/1.047, allocations: 112.8 kB / 0.9481 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/1.048, allocations: 0.8701 MB / 0.949 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/1.048, allocations: 38.56 kB / 0.949 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=23): time 1.492e-06/1.048, allocations: 0 / 0.949 GB, free: 7.105 MB / 0.7012 GB Notification: Performance of matching and sorting (n=23): time 0.0009109/1.049, allocations: 363 kB / 0.9494 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/1.049, allocations: 59.34 kB / 0.9494 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005068/1.05, allocations: 425.9 kB / 0.9498 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/1.05, allocations: 33.64 kB / 0.9499 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/1.05, allocations: 212.4 kB / 0.9501 GB, free: 6.004 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.919e-05/1.05, allocations: 91.2 kB / 0.9502 GB, free: 5.914 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/1.05, allocations: 49.7 kB / 0.9502 GB, free: 5.859 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.05, allocations: 354.7 kB / 0.9505 GB, free: 5.504 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/1.051, allocations: 83.94 kB / 0.9506 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/1.051, allocations: 119.4 kB / 0.9507 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004088/1.051, allocations: 215.7 kB / 0.9509 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.051, allocations: 0 / 0.9509 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005239/1.052, allocations: 283.4 kB / 0.9512 GB, free: 4.789 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/1.052, allocations: 8 kB / 0.9512 GB, free: 4.781 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.052, allocations: 3.938 kB / 0.9512 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.052, allocations: 0 / 0.9512 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/1.052, allocations: 50.72 kB / 0.9513 GB, free: 4.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.052, allocations: 8.031 kB / 0.9513 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/1.052, allocations: 31.72 kB / 0.9513 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/1.052, allocations: 11.98 kB / 0.9513 GB, free: 4.68 MB / 0.7012 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.0001966/1.053, allocations: 162.4 kB / 0.9515 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/1.053, allocations: 43.72 kB / 0.9515 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005993/1.053, allocations: 290.8 kB / 0.9518 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.053, allocations: 4 kB / 0.9518 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.053, allocations: 0 / 0.9518 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/1.053, allocations: 7.938 kB / 0.9518 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/1.055, allocations: 0.8036 MB / 0.9526 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/1.055, allocations: 4 kB / 0.9526 GB, free: 3.281 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/1.055, allocations: 40.78 kB / 0.9526 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.055, allocations: 7.938 kB / 0.9526 GB, free: 3.234 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/1.055, allocations: 8 kB / 0.9526 GB, free: 3.227 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.055, allocations: 4 kB / 0.9527 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.055, allocations: 0 / 0.9527 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000833/1.056, allocations: 0.5263 MB / 0.9532 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/1.056, allocations: 148.8 kB / 0.9533 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.464e-05/1.056, allocations: 5.25 kB / 0.9533 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/1.056, allocations: 15.98 kB / 0.9533 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/1.056, allocations: 19.92 kB / 0.9533 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/1.056, allocations: 12.17 kB / 0.9534 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000347/1.057, allocations: 307.1 kB / 0.9537 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.41e-07/1.057, allocations: 4 kB / 0.9537 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005485/1.057, allocations: 111.8 kB / 0.9538 GB, free: 2.043 MB / 0.7012 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.00152/1.059, allocations: 1.133 MB / 0.9549 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000505/1.059, allocations: 207.8 kB / 0.9551 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.059, allocations: 0 / 0.9551 GB, free: 0.6719 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/1.06, allocations: 116.2 kB / 0.9552 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/1.061, allocations: 226.7 kB / 0.9554 GB, free: 356 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005179/1.066, allocations: 3.698 MB / 0.959 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/1.066, allocations: 0.8272 MB / 0.9598 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0003118/1.067, allocations: 83.36 kB / 0.9599 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/1.067, allocations: 135.4 kB / 0.96 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/1.067, allocations: 0 / 0.96 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04291/1.11, allocations: 12.13 MB / 0.9719 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.448/9.558, allocations: 4.531 kB / 0.9719 GB, free: 15.58 MB / 0.7325 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)