Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_dev_IDEAS_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.005984/0.005984, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001156/0.001156, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9503/0.9503, allocations: 135.1 MB / 425.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.89 kB / 0.5851 GB, free: 3.891 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4048, allocations: 80.91 MB / 0.6641 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1838/0.5887, allocations: 173.8 MB / 0.8339 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003662/0.5924, allocations: 2.291 MB / 0.8361 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005104/0.5929, allocations: 19.88 kB / 0.8361 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007117/0.5936, allocations: 238.4 kB / 0.8364 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.5959, allocations: 0.9294 MB / 0.8373 GB, free: 15.68 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.5979, allocations: 0.8208 MB / 0.8381 GB, free: 14.86 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.5993, allocations: 0.9662 MB / 0.839 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005444/0.5998, allocations: 334.9 kB / 0.8393 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007994/0.6007, allocations: 466.2 kB / 0.8398 GB, free: 13.11 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.6011, allocations: 310.6 kB / 0.8401 GB, free: 12.8 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.137e-05/0.6012, allocations: 36 kB / 0.8401 GB, free: 12.77 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.6028, allocations: 0.9937 MB / 0.8411 GB, free: 11.77 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.6029, allocations: 139.6 kB / 0.8412 GB, free: 11.63 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.6032, allocations: 242.8 kB / 0.8415 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.6045, allocations: 0.9077 MB / 0.8423 GB, free: 10.48 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6045, allocations: 0 / 0.8423 GB, free: 10.48 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6045, allocations: 4 kB / 0.8423 GB, free: 10.48 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.6045, allocations: 0 / 0.8423 GB, free: 10.48 MB / 0.67 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.001218/0.6057, allocations: 0.8022 MB / 0.8431 GB, free: 9.625 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6058, allocations: 8.031 kB / 0.8431 GB, free: 9.617 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.078e-05/0.6059, allocations: 66.53 kB / 0.8432 GB, free: 9.543 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.607, allocations: 183.2 kB / 0.8434 GB, free: 9.363 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006212/0.6076, allocations: 393.4 kB / 0.8437 GB, free: 8.941 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.6077, allocations: 28.66 kB / 0.8438 GB, free: 8.914 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.6077, allocations: 28 kB / 0.8438 GB, free: 8.887 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006208/0.6084, allocations: 373 kB / 0.8442 GB, free: 8.496 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.6084, allocations: 8 kB / 0.8442 GB, free: 8.488 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.6084, allocations: 8 kB / 0.8442 GB, free: 8.48 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.6085, allocations: 12 kB / 0.8442 GB, free: 8.469 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.609, allocations: 258 kB / 0.8444 GB, free: 8.219 MB / 0.67 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.001946/0.6109, allocations: 1.675 MB / 0.8461 GB, free: 6.406 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.6113, allocations: 202.5 kB / 0.8463 GB, free: 6.199 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.6116, allocations: 115.4 kB / 0.8464 GB, free: 6.086 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009231/0.6125, allocations: 0.8701 MB / 0.8472 GB, free: 5.031 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.6126, allocations: 34.56 kB / 0.8472 GB, free: 4.988 MB / 0.67 GB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.6126, allocations: 4 kB / 0.8473 GB, free: 4.984 MB / 0.67 GB Notification: Performance of matching and sorting (n=23): time 0.0008511/0.6134, allocations: 352.9 kB / 0.8476 GB, free: 4.633 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.6135, allocations: 55.41 kB / 0.8476 GB, free: 4.566 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/0.6139, allocations: 425.9 kB / 0.848 GB, free: 4.145 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.614, allocations: 33.7 kB / 0.8481 GB, free: 4.105 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.6141, allocations: 212.2 kB / 0.8483 GB, free: 3.895 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.35e-05/0.6142, allocations: 90.73 kB / 0.8484 GB, free: 3.805 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.6143, allocations: 49.7 kB / 0.8484 GB, free: 3.75 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6144, allocations: 346.8 kB / 0.8487 GB, free: 3.402 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.6146, allocations: 83.94 kB / 0.8488 GB, free: 3.32 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.6148, allocations: 125.2 kB / 0.8489 GB, free: 3.188 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.6152, allocations: 204.8 kB / 0.8491 GB, free: 2.977 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6152, allocations: 112 / 0.8491 GB, free: 2.977 MB / 0.67 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005005/0.6157, allocations: 282.1 kB / 0.8494 GB, free: 2.695 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.6158, allocations: 10.41 kB / 0.8494 GB, free: 2.688 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.6158, allocations: 7.938 kB / 0.8494 GB, free: 2.68 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.6158, allocations: 3.938 kB / 0.8494 GB, free: 2.676 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.616, allocations: 59.91 kB / 0.8495 GB, free: 2.617 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.616, allocations: 4 kB / 0.8495 GB, free: 2.613 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.6162, allocations: 31.59 kB / 0.8495 GB, free: 2.582 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.6163, allocations: 11.98 kB / 0.8495 GB, free: 2.57 MB / 0.67 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.0001417/0.6164, allocations: 163.3 kB / 0.8497 GB, free: 2.402 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.6165, allocations: 43.53 kB / 0.8497 GB, free: 2.359 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005611/0.6171, allocations: 296.6 kB / 0.85 GB, free: 2.062 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6171, allocations: 3.984 kB / 0.85 GB, free: 2.059 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6171, allocations: 0 / 0.85 GB, free: 2.059 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6171, allocations: 0 / 0.85 GB, free: 2.059 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.6183, allocations: 0.8112 MB / 0.8508 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6183, allocations: 0 / 0.8508 GB, free: 1.172 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.6185, allocations: 47.97 kB / 0.8509 GB, free: 1.125 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.6186, allocations: 4 kB / 0.8509 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.6186, allocations: 8.188 kB / 0.8509 GB, free: 1.113 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/0.6186, allocations: 11.94 kB / 0.8509 GB, free: 1.102 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6186, allocations: 0 / 0.8509 GB, free: 1.102 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007547/0.6194, allocations: 0.5074 MB / 0.8514 GB, free: 0.5586 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.6195, allocations: 148.5 kB / 0.8515 GB, free: 404 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.151e-05/0.6196, allocations: 4 kB / 0.8515 GB, free: 400 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.6199, allocations: 15.98 kB / 0.8515 GB, free: 384 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.6199, allocations: 27.92 kB / 0.8516 GB, free: 356 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.62, allocations: 7.984 kB / 0.8516 GB, free: 348 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003071/0.6203, allocations: 303.1 kB / 0.8519 GB, free: 48 kB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6203, allocations: 0 / 0.8519 GB, free: 48 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004238/0.6207, allocations: 115.9 kB / 0.852 GB, free: 15.93 MB / 0.6856 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.001287/0.622, allocations: 1.14 MB / 0.8531 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004712/0.6225, allocations: 208.7 kB / 0.8533 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6225, allocations: 8 kB / 0.8533 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.6227, allocations: 115.8 kB / 0.8534 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.6238, allocations: 217 kB / 0.8536 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.6286, allocations: 3.68 MB / 0.8572 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.629, allocations: 0.8272 MB / 0.858 GB, free: 9.551 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002847/0.6293, allocations: 87.34 kB / 0.8581 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.6295, allocations: 135.4 kB / 0.8582 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of SimCode: time 6.01e-07/0.6295, allocations: 0 / 0.8582 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3259/0.9554, allocations: 12.27 MB / 0.8702 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.278/9.233, allocations: 5.719 kB / 0.8702 GB, free: 192.8 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)