Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.Orifice,fileNamePrefix="IDEAS_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.005456/0.005456, allocations: 107 kB / 15.74 MB, free: 6.051 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.001324/0.001324, allocations: 195 kB / 16.68 MB, free: 5.98 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7056/0.7056, allocations: 132.2 MB / 422.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 70.86 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.139, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4854/0.6245, allocations: 173.8 MB / 0.8289 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003391/0.6279, allocations: 2.29 MB / 0.8311 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.6282, allocations: 15.44 kB / 0.8312 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006277/0.6288, allocations: 236.3 kB / 0.8314 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.6311, allocations: 0.9758 MB / 0.8323 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.6333, allocations: 0.8269 MB / 0.8331 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.6346, allocations: 0.9668 MB / 0.8341 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005613/0.6352, allocations: 339 kB / 0.8344 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008181/0.636, allocations: 463.6 kB / 0.8349 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004398/0.6365, allocations: 319 kB / 0.8352 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.571e-05/0.6365, allocations: 32.69 kB / 0.8352 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.6385, allocations: 0.998 MB / 0.8362 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.6387, allocations: 150.4 kB / 0.8363 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.639, allocations: 236.8 kB / 0.8365 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.6401, allocations: 0.908 MB / 0.8374 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6401, allocations: 1.094 kB / 0.8374 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6402, allocations: 0.9375 kB / 0.8374 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.6402, allocations: 0 / 0.8374 GB, free: 2.652 MB / 0.6387 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.001048/0.6412, allocations: 0.807 MB / 0.8382 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.6413, allocations: 12.88 kB / 0.8382 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.846e-05/0.6413, allocations: 65.77 kB / 0.8383 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.6425, allocations: 185 kB / 0.8385 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.6432, allocations: 385.2 kB / 0.8388 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.6432, allocations: 23.44 kB / 0.8389 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.6433, allocations: 33.36 kB / 0.8389 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006222/0.6439, allocations: 368.4 kB / 0.8392 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.644, allocations: 6.594 kB / 0.8392 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.644, allocations: 14.67 kB / 0.8393 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.644, allocations: 13.09 kB / 0.8393 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/0.6446, allocations: 256.7 kB / 0.8395 GB, free: 1.691 MB / 0.6387 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.00172/0.6463, allocations: 1.681 MB / 0.8412 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.6466, allocations: 210 kB / 0.8414 GB, free: 16.53 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.6468, allocations: 116.1 kB / 0.8415 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008724/0.6477, allocations: 0.8691 MB / 0.8423 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.6478, allocations: 39.41 kB / 0.8424 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.323e-06/0.6478, allocations: 0.9688 kB / 0.8424 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.000812/0.6486, allocations: 354.6 kB / 0.8427 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.6486, allocations: 54.53 kB / 0.8427 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.649, allocations: 421 kB / 0.8431 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.649, allocations: 29.92 kB / 0.8432 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.6492, allocations: 221.5 kB / 0.8434 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.6492, allocations: 84.3 kB / 0.8435 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.6493, allocations: 48.52 kB / 0.8435 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6494, allocations: 349.6 kB / 0.8438 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.6496, allocations: 79.36 kB / 0.8439 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.6498, allocations: 120.5 kB / 0.844 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/0.6501, allocations: 216.7 kB / 0.8442 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6501, allocations: 0 / 0.8442 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004287/0.6506, allocations: 284.2 kB / 0.8445 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.6506, allocations: 6.062 kB / 0.8445 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6506, allocations: 3.734 kB / 0.8445 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6506, allocations: 4.219 kB / 0.8445 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.6508, allocations: 50.03 kB / 0.8446 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.6508, allocations: 6.375 kB / 0.8446 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.651, allocations: 36.92 kB / 0.8446 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.651, allocations: 10.75 kB / 0.8446 GB, free: 14.66 MB / 0.6544 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.0001412/0.6512, allocations: 164.7 kB / 0.8448 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.6513, allocations: 39.72 kB / 0.8448 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.6518, allocations: 285.9 kB / 0.8451 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.6518, allocations: 2.656 kB / 0.8451 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6518, allocations: 0 / 0.8451 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6518, allocations: 7.141 kB / 0.8451 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009665/0.6528, allocations: 0.8138 MB / 0.8459 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6528, allocations: 2.906 kB / 0.8459 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.653, allocations: 49.56 kB / 0.8459 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.653, allocations: 3 kB / 0.846 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.653, allocations: 3.531 kB / 0.846 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.653, allocations: 6.594 kB / 0.846 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.653, allocations: 7.25 kB / 0.846 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.6537, allocations: 0.5058 MB / 0.8465 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.6538, allocations: 149 kB / 0.8466 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.6539, allocations: 10.25 kB / 0.8466 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.6541, allocations: 12.44 kB / 0.8466 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.6542, allocations: 27.73 kB / 0.8467 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.6542, allocations: 13.38 kB / 0.8467 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002565/0.6545, allocations: 299.5 kB / 0.847 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6545, allocations: 0.8125 kB / 0.847 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004021/0.6549, allocations: 115 kB / 0.8471 GB, free: 13.67 MB / 0.6544 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.001164/0.6561, allocations: 1.133 MB / 0.8482 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.6565, allocations: 208 kB / 0.8484 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6565, allocations: 0.6875 kB / 0.8484 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.6567, allocations: 115.7 kB / 0.8485 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009233/0.6576, allocations: 233.9 kB / 0.8487 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.6616, allocations: 3.676 MB / 0.8523 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.6619, allocations: 0.8304 MB / 0.8531 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002232/0.6621, allocations: 76.61 kB / 0.8532 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.6623, allocations: 140.3 kB / 0.8533 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.6623, allocations: 0 / 0.8533 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.6916, allocations: 12.1 MB / 0.8651 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/8.182, allocations: 3.406 kB / 0.8651 GB, free: 9.598 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1)