Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IBPSA_latest_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.001227/0.001227, allocations: 99.17 kB / 16.27 MB, free: 5.965 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.001246/0.001246, allocations: 193.6 kB / 17.2 MB, free: 5.594 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.217/1.217, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6528/0.6528, allocations: 122.8 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2596, allocations: 77.93 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.Orifice): time 0.1439/0.4036, allocations: 173.8 MB / 0.737 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.4066, allocations: 2.295 MB / 0.7392 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.4069, allocations: 15.94 kB / 0.7393 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.4075, allocations: 234.3 kB / 0.7395 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.4092, allocations: 0.9333 MB / 0.7404 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.4108, allocations: 0.823 MB / 0.7412 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009519/0.4117, allocations: 0.9585 MB / 0.7421 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004159/0.4122, allocations: 334.9 kB / 0.7424 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000593/0.4128, allocations: 458.3 kB / 0.7429 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.4131, allocations: 310.7 kB / 0.7432 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.725e-05/0.4132, allocations: 32 kB / 0.7432 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.4145, allocations: 0.9937 MB / 0.7442 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.4146, allocations: 147.5 kB / 0.7443 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.4149, allocations: 238.8 kB / 0.7445 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.4159, allocations: 0.8882 MB / 0.7454 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.4159, allocations: 4 kB / 0.7454 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4159, allocations: 0 / 0.7454 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.4159, allocations: 0 / 0.7454 GB, free: 3.801 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.001029/0.417, allocations: 0.8098 MB / 0.7462 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.417, allocations: 12.62 kB / 0.7462 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.146e-05/0.4171, allocations: 66.53 kB / 0.7463 GB, free: 2.855 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/0.4182, allocations: 179.2 kB / 0.7465 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.4186, allocations: 369.4 kB / 0.7468 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.4186, allocations: 36.62 kB / 0.7468 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.4187, allocations: 28 kB / 0.7469 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/0.4192, allocations: 373 kB / 0.7472 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4192, allocations: 4 kB / 0.7472 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.4193, allocations: 8 kB / 0.7472 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.4193, allocations: 19.92 kB / 0.7473 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004542/0.4198, allocations: 266 kB / 0.7475 GB, free: 1.535 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.1875/0.6073, allocations: 1.668 MB / 0.7491 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.6078, allocations: 208.7 kB / 0.7493 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.608, allocations: 114.6 kB / 0.7494 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008026/0.6088, allocations: 0.8722 MB / 0.7503 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.6088, allocations: 34.2 kB / 0.7503 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=23): time 2.385e-06/0.6088, allocations: 4.375 kB / 0.7503 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23): time 0.0009284/0.6098, allocations: 361.1 kB / 0.7507 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.6098, allocations: 55.33 kB / 0.7507 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004924/0.6103, allocations: 422.3 kB / 0.7511 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.6103, allocations: 31.73 kB / 0.7512 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.6105, allocations: 210.8 kB / 0.7514 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.6105, allocations: 83.81 kB / 0.7514 GB, free: 171 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.222e-05/0.6106, allocations: 51.72 kB / 0.7515 GB, free: 171 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.6107, allocations: 354 kB / 0.7518 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.6109, allocations: 81.14 kB / 0.7519 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.6111, allocations: 121.7 kB / 0.752 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.6115, allocations: 209.2 kB / 0.7522 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6115, allocations: 0 / 0.7522 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005368/0.6121, allocations: 282 kB / 0.7525 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.6121, allocations: 5.484 kB / 0.7525 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.6121, allocations: 2.781 kB / 0.7525 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6121, allocations: 3.875 kB / 0.7525 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.6124, allocations: 51.73 kB / 0.7526 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.6124, allocations: 2.781 kB / 0.7526 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.6126, allocations: 36.88 kB / 0.7526 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.6126, allocations: 8.969 kB / 0.7526 GB, free: 170.4 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.0001345/0.6128, allocations: 166.4 kB / 0.7528 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.535e-05/0.6129, allocations: 44.25 kB / 0.7528 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005414/0.6134, allocations: 284.6 kB / 0.7531 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6134, allocations: 2.688 kB / 0.7531 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6134, allocations: 1.5 kB / 0.7531 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6134, allocations: 5.438 kB / 0.7531 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.6146, allocations: 0.8162 MB / 0.7539 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.6146, allocations: 2.312 kB / 0.7539 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.6148, allocations: 46.75 kB / 0.7539 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.6148, allocations: 6.781 kB / 0.7539 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.6148, allocations: 11.56 kB / 0.7539 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.6149, allocations: 5.453 kB / 0.754 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6149, allocations: 5.812 kB / 0.754 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007032/0.6156, allocations: 0.4994 MB / 0.7544 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.6157, allocations: 143.2 kB / 0.7546 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.6158, allocations: 9.078 kB / 0.7546 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.616, allocations: 21.41 kB / 0.7546 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.6161, allocations: 18.22 kB / 0.7546 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.6161, allocations: 9.609 kB / 0.7546 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003029/0.6164, allocations: 303.4 kB / 0.7549 GB, free: 169 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6164, allocations: 1.062 kB / 0.7549 GB, free: 169 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004427/0.6169, allocations: 115.6 kB / 0.755 GB, free: 169 MB / 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.001081/0.618, allocations: 1.132 MB / 0.7561 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004895/0.6185, allocations: 222.9 kB / 0.7564 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6185, allocations: 1.25 kB / 0.7564 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000233/0.6187, allocations: 112.9 kB / 0.7565 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.6198, allocations: 222.1 kB / 0.7567 GB, free: 168 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/0.624, allocations: 3.743 MB / 0.7603 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.6242, allocations: 0.8244 MB / 0.7611 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000298/0.6245, allocations: 86.89 kB / 0.7612 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.6247, allocations: 139.6 kB / 0.7614 GB, free: 165 MB / 0.5762 GB Notification: Performance of SimCode: time 2.1e-07/0.6247, allocations: 0 / 0.7614 GB, free: 165 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.703/2.327, allocations: 11.99 MB / 0.7731 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/12.7, allocations: 8.562 kB / 0.7731 GB, free: 160.3 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_Orifice.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.Orifice.pipe 2>&1)