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.005995/0.005995, allocations: 99.67 kB / 15.73 MB, free: 6.043 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.001564/0.001564, allocations: 199.4 kB / 16.68 MB, free: 5.965 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9691/0.9691, allocations: 135.5 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 67.89 kB / 0.5857 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3854, allocations: 81.03 MB / 0.6649 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.1901/0.5755, allocations: 173.8 MB / 0.8346 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003845/0.5794, allocations: 2.291 MB / 0.8368 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004076/0.5799, allocations: 11.94 kB / 0.8369 GB, free: 196 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007951/0.5807, allocations: 234.4 kB / 0.8371 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002412/0.5831, allocations: 0.9294 MB / 0.838 GB, free: 15.03 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.5856, allocations: 0.8338 MB / 0.8388 GB, free: 14.2 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001363/0.5869, allocations: 0.97 MB / 0.8397 GB, free: 13.22 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005002/0.5874, allocations: 334.9 kB / 0.8401 GB, free: 12.89 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008891/0.5883, allocations: 454.3 kB / 0.8405 GB, free: 12.45 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005629/0.5889, allocations: 314.7 kB / 0.8408 GB, free: 12.14 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 7.633e-05/0.589, allocations: 32 kB / 0.8408 GB, free: 12.11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.5915, allocations: 0.9937 MB / 0.8418 GB, free: 11.11 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.5918, allocations: 143.6 kB / 0.8419 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.5921, allocations: 242.7 kB / 0.8422 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.5938, allocations: 0.912 MB / 0.8431 GB, free: 9.824 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.5938, allocations: 11.88 kB / 0.8431 GB, free: 9.812 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5938, allocations: 0 / 0.8431 GB, free: 9.812 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.5938, allocations: 0 / 0.8431 GB, free: 9.812 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.001283/0.5951, allocations: 0.8169 MB / 0.8439 GB, free: 8.941 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5952, allocations: 8.031 kB / 0.8439 GB, free: 8.934 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.885e-05/0.5953, allocations: 70.53 kB / 0.8439 GB, free: 8.855 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.5965, allocations: 179.5 kB / 0.8441 GB, free: 8.68 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.5971, allocations: 393.6 kB / 0.8445 GB, free: 8.258 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.5972, allocations: 28.64 kB / 0.8445 GB, free: 8.23 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.5972, allocations: 35.95 kB / 0.8446 GB, free: 8.195 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006264/0.5979, allocations: 369 kB / 0.8449 GB, free: 7.809 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.5979, allocations: 0 / 0.8449 GB, free: 7.809 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.5979, allocations: 16 kB / 0.8449 GB, free: 7.793 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.598, allocations: 19.98 kB / 0.8449 GB, free: 7.773 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005246/0.5985, allocations: 254 kB / 0.8452 GB, free: 7.527 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.001962/0.6005, allocations: 1.68 MB / 0.8468 GB, free: 5.711 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004066/0.6009, allocations: 199.9 kB / 0.847 GB, free: 5.508 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.6011, allocations: 112.8 kB / 0.8471 GB, free: 5.395 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/0.6022, allocations: 0.874 MB / 0.848 GB, free: 4.336 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.6023, allocations: 30.56 kB / 0.848 GB, free: 4.297 MB / 0.67 GB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.6023, allocations: 0 / 0.848 GB, free: 4.297 MB / 0.67 GB Notification: Performance of matching and sorting (n=23): time 0.000939/0.6032, allocations: 368.9 kB / 0.8484 GB, free: 3.934 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.6033, allocations: 55.41 kB / 0.8484 GB, free: 3.867 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004862/0.6038, allocations: 425.8 kB / 0.8488 GB, free: 3.445 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.6038, allocations: 29.7 kB / 0.8488 GB, free: 3.41 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.604, allocations: 212.5 kB / 0.849 GB, free: 3.199 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.356e-05/0.6041, allocations: 87.25 kB / 0.8491 GB, free: 3.113 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.182e-05/0.6042, allocations: 57.66 kB / 0.8492 GB, free: 3.051 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6043, allocations: 350.8 kB / 0.8495 GB, free: 2.699 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.6045, allocations: 71.95 kB / 0.8496 GB, free: 2.629 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.6048, allocations: 125.2 kB / 0.8497 GB, free: 2.496 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004168/0.6052, allocations: 214.3 kB / 0.8499 GB, free: 2.277 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.6052, allocations: 4 kB / 0.8499 GB, free: 2.273 MB / 0.67 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005443/0.6057, allocations: 285.2 kB / 0.8502 GB, free: 1.988 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6058, allocations: 7.938 kB / 0.8502 GB, free: 1.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6058, allocations: 4 kB / 0.8502 GB, free: 1.977 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.6058, allocations: 7.969 kB / 0.8502 GB, free: 1.969 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.6061, allocations: 51.97 kB / 0.8503 GB, free: 1.918 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.6061, allocations: 4 kB / 0.8503 GB, free: 1.914 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.6063, allocations: 35.66 kB / 0.8503 GB, free: 1.879 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.6063, allocations: 12 kB / 0.8503 GB, free: 1.867 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.0001722/0.6065, allocations: 161.8 kB / 0.8505 GB, free: 1.699 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.28e-05/0.6066, allocations: 43.72 kB / 0.8505 GB, free: 1.656 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006014/0.6072, allocations: 289 kB / 0.8508 GB, free: 1.363 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.6072, allocations: 8.078 kB / 0.8508 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6072, allocations: 3.984 kB / 0.8508 GB, free: 1.352 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6072, allocations: 0 / 0.8508 GB, free: 1.352 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.6085, allocations: 0.8099 MB / 0.8516 GB, free: 480 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6085, allocations: 0 / 0.8516 GB, free: 480 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.6087, allocations: 47.91 kB / 0.8516 GB, free: 432 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.6088, allocations: 4 kB / 0.8516 GB, free: 428 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.6088, allocations: 8 kB / 0.8516 GB, free: 420 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.6088, allocations: 0 / 0.8516 GB, free: 420 kB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6088, allocations: 4.188 kB / 0.8516 GB, free: 416 kB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008294/0.6096, allocations: 0.5085 MB / 0.8521 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.6098, allocations: 144.7 kB / 0.8523 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.6099, allocations: 15.98 kB / 0.8523 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000253/0.6101, allocations: 15.98 kB / 0.8523 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.6102, allocations: 15.92 kB / 0.8523 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.6102, allocations: 12 kB / 0.8523 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003303/0.6106, allocations: 303.1 kB / 0.8526 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6106, allocations: 0 / 0.8526 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004406/0.611, allocations: 123.8 kB / 0.8527 GB, free: 15.23 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.00145/0.6125, allocations: 1.137 MB / 0.8538 GB, free: 14.06 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.613, allocations: 212.6 kB / 0.854 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.613, allocations: 0 / 0.854 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.6132, allocations: 122.4 kB / 0.8542 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.6143, allocations: 225.8 kB / 0.8544 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004893/0.6192, allocations: 3.679 MB / 0.858 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.6197, allocations: 0.8233 MB / 0.8588 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003033/0.62, allocations: 83.34 kB / 0.8589 GB, free: 8.777 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.6202, allocations: 139.4 kB / 0.859 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of SimCode: time 4.6e-07/0.6202, allocations: 4 kB / 0.859 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3316/0.9518, allocations: 12.1 MB / 0.8708 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/9.125, allocations: 7.219 kB / 0.8708 GB, free: 193.3 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)