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.005121/0.005121, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001379/0.001379, allocations: 206.4 kB / 16.68 MB, free: 5.973 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7627/0.7627, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 67.95 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1389, allocations: 80.21 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4703/0.6093, allocations: 173.8 MB / 0.8289 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003027/0.6123, allocations: 2.299 MB / 0.8312 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.6126, allocations: 15.31 kB / 0.8312 GB, free: 2.809 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.6132, allocations: 236.7 kB / 0.8314 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001695/0.6149, allocations: 0.9328 MB / 0.8323 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.6165, allocations: 0.8246 MB / 0.8331 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0008589/0.6174, allocations: 0.9604 MB / 0.8341 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003887/0.6178, allocations: 334.5 kB / 0.8344 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.6183, allocations: 452.8 kB / 0.8348 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003257/0.6186, allocations: 312.4 kB / 0.8351 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.756e-05/0.6187, allocations: 33.34 kB / 0.8351 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.62, allocations: 0.9987 MB / 0.8361 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.6201, allocations: 149.8 kB / 0.8363 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.6203, allocations: 240 kB / 0.8365 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.6213, allocations: 0.9137 MB / 0.8374 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6213, allocations: 0 / 0.8374 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6214, allocations: 0.875 kB / 0.8374 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.6214, allocations: 1.203 kB / 0.8374 GB, free: 2.656 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.0009501/0.6223, allocations: 0.826 MB / 0.8382 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.6224, allocations: 10.47 kB / 0.8382 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.397e-05/0.6224, allocations: 65.7 kB / 0.8383 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.6235, allocations: 179.9 kB / 0.8384 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.624, allocations: 401.4 kB / 0.8388 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.6241, allocations: 24.03 kB / 0.8388 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.6241, allocations: 35.22 kB / 0.8389 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.6246, allocations: 369.1 kB / 0.8392 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.6247, allocations: 1.219 kB / 0.8392 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.6247, allocations: 13.84 kB / 0.8392 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.6247, allocations: 13.19 kB / 0.8392 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/0.6252, allocations: 257.3 kB / 0.8395 GB, free: 1.668 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.001449/0.6266, allocations: 1.679 MB / 0.8411 GB, free: 16.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.627, allocations: 202.5 kB / 0.8413 GB, free: 16.51 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.6272, allocations: 120.5 kB / 0.8414 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.6282, allocations: 0.8671 MB / 0.8423 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.6282, allocations: 41.88 kB / 0.8423 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.272e-06/0.6282, allocations: 0.875 kB / 0.8423 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0007729/0.629, allocations: 355.5 kB / 0.8427 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.6291, allocations: 53.81 kB / 0.8427 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.6294, allocations: 425.3 kB / 0.8431 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.6295, allocations: 29.45 kB / 0.8431 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.6296, allocations: 215.3 kB / 0.8434 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.6296, allocations: 88.73 kB / 0.8434 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.6297, allocations: 57.14 kB / 0.8435 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6298, allocations: 353.1 kB / 0.8438 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.63, allocations: 77.48 kB / 0.8439 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.6302, allocations: 124.3 kB / 0.844 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/0.6305, allocations: 208.8 kB / 0.8442 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.6305, allocations: 3.469 kB / 0.8442 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004414/0.631, allocations: 285.9 kB / 0.8445 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.631, allocations: 6.344 kB / 0.8445 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.631, allocations: 2.812 kB / 0.8445 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.631, allocations: 3.281 kB / 0.8445 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.6312, allocations: 55.94 kB / 0.8446 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.6313, allocations: 3.375 kB / 0.8446 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.6314, allocations: 34.94 kB / 0.8446 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.6315, allocations: 8.344 kB / 0.8446 GB, free: 14.62 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.0001469/0.6316, allocations: 169.1 kB / 0.8448 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-05/0.6317, allocations: 46.78 kB / 0.8448 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005523/0.6323, allocations: 291.6 kB / 0.8451 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6323, allocations: 0 / 0.8451 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6323, allocations: 4.625 kB / 0.8451 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6323, allocations: 0 / 0.8451 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009958/0.6333, allocations: 0.81 MB / 0.8459 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.6333, allocations: 7.703 kB / 0.8459 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.6335, allocations: 41.28 kB / 0.8459 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.6335, allocations: 3.375 kB / 0.8459 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.6335, allocations: 8.875 kB / 0.8459 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6335, allocations: 11 kB / 0.846 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6336, allocations: 2.75 kB / 0.846 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.6342, allocations: 0.5038 MB / 0.8465 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.6343, allocations: 146.8 kB / 0.8466 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.6344, allocations: 11.06 kB / 0.8466 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.6347, allocations: 18.14 kB / 0.8466 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.6347, allocations: 20.75 kB / 0.8466 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.6347, allocations: 7.031 kB / 0.8466 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002536/0.635, allocations: 306.6 kB / 0.8469 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.635, allocations: 0.8125 kB / 0.8469 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003614/0.6354, allocations: 113.8 kB / 0.847 GB, free: 13.64 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.001221/0.6366, allocations: 1.136 MB / 0.8482 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004245/0.637, allocations: 212.6 kB / 0.8484 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.637, allocations: 2.281 kB / 0.8484 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.6372, allocations: 114.4 kB / 0.8485 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009879/0.6382, allocations: 230 kB / 0.8487 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.6423, allocations: 3.69 MB / 0.8523 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.6427, allocations: 0.8243 MB / 0.8531 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002294/0.643, allocations: 85.33 kB / 0.8532 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.6431, allocations: 138.3 kB / 0.8533 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6431, allocations: 0 / 0.8533 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.678, allocations: 12.09 MB / 0.8651 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.977, allocations: 3.984 kB / 0.8651 GB, free: 9.551 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)