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.007555/0.007554, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001756/0.001756, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9931/0.9931, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001654, allocations: 71.89 kB / 0.5851 GB, free: 3.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4922, allocations: 80.91 MB / 0.6641 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1939/0.6861, allocations: 173.8 MB / 0.8339 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003573/0.6897, allocations: 2.288 MB / 0.8361 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005107/0.6902, allocations: 11.94 kB / 0.8361 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007205/0.691, allocations: 238.3 kB / 0.8364 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.6931, allocations: 0.9723 MB / 0.8373 GB, free: 15.67 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.6951, allocations: 0.8318 MB / 0.8381 GB, free: 14.84 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.6963, allocations: 0.9662 MB / 0.8391 GB, free: 13.87 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005139/0.6969, allocations: 330.9 kB / 0.8394 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000788/0.6977, allocations: 466.3 kB / 0.8398 GB, free: 13.09 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004298/0.6981, allocations: 318.6 kB / 0.8401 GB, free: 12.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.6982, allocations: 39.94 kB / 0.8402 GB, free: 12.73 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.6998, allocations: 0.9976 MB / 0.8412 GB, free: 11.73 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.7, allocations: 147.5 kB / 0.8413 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.7002, allocations: 238.8 kB / 0.8415 GB, free: 11.36 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.7016, allocations: 0.8999 MB / 0.8424 GB, free: 10.45 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7016, allocations: 0 / 0.8424 GB, free: 10.45 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.302e-06/0.7016, allocations: 3.938 kB / 0.8424 GB, free: 10.45 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.461e-05/0.7017, allocations: 0 / 0.8424 GB, free: 10.45 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.001256/0.7029, allocations: 0.8061 MB / 0.8432 GB, free: 9.59 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.703, allocations: 8.031 kB / 0.8432 GB, free: 9.582 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.208e-05/0.7031, allocations: 70.53 kB / 0.8433 GB, free: 9.504 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00156/0.7046, allocations: 179.2 kB / 0.8434 GB, free: 9.328 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008728/0.7055, allocations: 393.4 kB / 0.8438 GB, free: 8.906 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.7056, allocations: 24.66 kB / 0.8438 GB, free: 8.883 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.7057, allocations: 35.94 kB / 0.8439 GB, free: 8.848 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.7065, allocations: 365.1 kB / 0.8442 GB, free: 8.465 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.7066, allocations: 3.938 kB / 0.8442 GB, free: 8.461 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.549e-05/0.7066, allocations: 19.98 kB / 0.8442 GB, free: 8.441 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.7067, allocations: 11.98 kB / 0.8443 GB, free: 8.43 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00075/0.7074, allocations: 258 kB / 0.8445 GB, free: 8.18 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.002573/0.71, allocations: 1.667 MB / 0.8461 GB, free: 6.375 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.7106, allocations: 206.5 kB / 0.8463 GB, free: 6.164 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.711, allocations: 116.7 kB / 0.8464 GB, free: 6.051 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.7124, allocations: 0.8701 MB / 0.8473 GB, free: 4.996 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.7125, allocations: 42.5 kB / 0.8473 GB, free: 4.945 MB / 0.67 GB Notification: Performance of pre-optimization done (n=23): time 2.375e-06/0.7125, allocations: 0 / 0.8473 GB, free: 4.945 MB / 0.67 GB Notification: Performance of matching and sorting (n=23): time 0.001426/0.7139, allocations: 355.6 kB / 0.8477 GB, free: 4.594 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.714, allocations: 51.41 kB / 0.8477 GB, free: 4.531 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007303/0.7147, allocations: 425.9 kB / 0.8481 GB, free: 4.109 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.7148, allocations: 29.7 kB / 0.8482 GB, free: 4.074 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.715, allocations: 216.2 kB / 0.8484 GB, free: 3.859 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.7151, allocations: 86.75 kB / 0.8484 GB, free: 3.773 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.7153, allocations: 49.7 kB / 0.8485 GB, free: 3.719 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000227/0.7155, allocations: 350.8 kB / 0.8488 GB, free: 3.367 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.7159, allocations: 75.95 kB / 0.8489 GB, free: 3.293 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.7162, allocations: 129.2 kB / 0.849 GB, free: 3.156 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.7169, allocations: 204.9 kB / 0.8492 GB, free: 2.945 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.7169, allocations: 0 / 0.8492 GB, free: 2.945 MB / 0.67 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008847/0.7178, allocations: 282.1 kB / 0.8495 GB, free: 2.664 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.7179, allocations: 12.09 kB / 0.8495 GB, free: 2.652 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.7179, allocations: 3.938 kB / 0.8495 GB, free: 2.648 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.7179, allocations: 11.97 kB / 0.8495 GB, free: 2.637 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.7183, allocations: 51.86 kB / 0.8496 GB, free: 2.586 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.7183, allocations: 0 / 0.8496 GB, free: 2.586 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003624/0.7187, allocations: 35.58 kB / 0.8496 GB, free: 2.551 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.7187, allocations: 12 kB / 0.8496 GB, free: 2.539 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.0002393/0.719, allocations: 161.8 kB / 0.8498 GB, free: 2.371 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.7191, allocations: 39.53 kB / 0.8498 GB, free: 2.332 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009128/0.7201, allocations: 300.4 kB / 0.8501 GB, free: 2.031 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7201, allocations: 0 / 0.8501 GB, free: 2.031 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.7201, allocations: 4 kB / 0.8501 GB, free: 2.027 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.7201, allocations: 0 / 0.8501 GB, free: 2.027 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.7221, allocations: 0.8134 MB / 0.8509 GB, free: 1.141 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.7221, allocations: 4 kB / 0.8509 GB, free: 1.137 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003795/0.7225, allocations: 51.91 kB / 0.8509 GB, free: 1.086 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.7225, allocations: 0 / 0.8509 GB, free: 1.086 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.7225, allocations: 8 kB / 0.8509 GB, free: 1.078 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.7226, allocations: 4 kB / 0.8509 GB, free: 1.074 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7226, allocations: 4.188 kB / 0.8509 GB, free: 1.07 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.7238, allocations: 0.5128 MB / 0.8514 GB, free: 0.5234 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.7241, allocations: 144.5 kB / 0.8516 GB, free: 372 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.552e-05/0.7242, allocations: 11.98 kB / 0.8516 GB, free: 360 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.7247, allocations: 11.98 kB / 0.8516 GB, free: 348 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.7248, allocations: 20.11 kB / 0.8516 GB, free: 328 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.7248, allocations: 8 kB / 0.8516 GB, free: 320 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005264/0.7253, allocations: 311.1 kB / 0.8519 GB, free: 12 kB / 0.67 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7254, allocations: 0 / 0.8519 GB, free: 12 kB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008119/0.7262, allocations: 115.8 kB / 0.852 GB, free: 15.9 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.002001/0.7282, allocations: 1.129 MB / 0.8531 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00076/0.729, allocations: 221 kB / 0.8534 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.729, allocations: 0 / 0.8534 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.7294, allocations: 115.9 kB / 0.8535 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.7311, allocations: 224.6 kB / 0.8537 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007478/0.7386, allocations: 3.68 MB / 0.8573 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005915/0.7392, allocations: 0.8233 MB / 0.8581 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004728/0.7397, allocations: 87.34 kB / 0.8582 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.74, allocations: 135.4 kB / 0.8583 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of SimCode: time 8.62e-07/0.7401, allocations: 0 / 0.8583 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3537/1.094, allocations: 12.08 MB / 0.8701 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.425/9.519, allocations: 7.344 kB / 0.8701 GB, free: 192.7 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)