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.0008838/0.0008839, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0009428/0.0009428, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9163/0.9163, allocations: 135.3 MB / 426.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003619, allocations: 11.98 kB / 0.5071 GB, free: 5.02 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.209, allocations: 82.3 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4866/0.6956, allocations: 158 MB / 0.7417 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003548/0.6992, allocations: 2.172 MB / 0.7439 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.6996, allocations: 10.34 kB / 0.7439 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006123/0.7002, allocations: 160.9 kB / 0.744 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.702, allocations: 0.6785 MB / 0.7447 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.7038, allocations: 0.6093 MB / 0.7453 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.705, allocations: 1.142 MB / 0.7464 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004214/0.7055, allocations: 253.5 kB / 0.7466 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006438/0.7061, allocations: 415.1 kB / 0.747 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.7065, allocations: 302.4 kB / 0.7473 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.7066, allocations: 18.94 kB / 0.7473 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.7077, allocations: 0.5336 MB / 0.7479 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.7078, allocations: 126.9 kB / 0.748 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.054e-05/0.7079, allocations: 112.2 kB / 0.7481 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006739/0.7086, allocations: 0.5544 MB / 0.7486 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7086, allocations: 0 / 0.7486 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7086, allocations: 0 / 0.7486 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.7086, allocations: 4 kB / 0.7486 GB, free: 7.012 MB / 0.5606 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.001053/0.7097, allocations: 0.7375 MB / 0.7493 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.7097, allocations: 18.47 kB / 0.7494 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.036e-05/0.7098, allocations: 66.28 kB / 0.7494 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.7109, allocations: 175.8 kB / 0.7496 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.7114, allocations: 357.3 kB / 0.7499 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.7115, allocations: 20.75 kB / 0.75 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.7115, allocations: 28 kB / 0.75 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005881/0.7121, allocations: 391.2 kB / 0.7504 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.7121, allocations: 0 / 0.7504 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.7122, allocations: 12.72 kB / 0.7504 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.7122, allocations: 9.781 kB / 0.7504 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004639/0.7127, allocations: 273 kB / 0.7506 GB, free: 5.496 MB / 0.5606 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.001856/0.7145, allocations: 1.672 MB / 0.7523 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.715, allocations: 210.5 kB / 0.7525 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.7152, allocations: 123.6 kB / 0.7526 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009893/0.7162, allocations: 0.8896 MB / 0.7535 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.7162, allocations: 34.56 kB / 0.7535 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=23): time 1.312e-06/0.7162, allocations: 0 / 0.7535 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23): time 0.0009625/0.7172, allocations: 368.8 kB / 0.7538 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.7173, allocations: 55.52 kB / 0.7539 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/0.7177, allocations: 417.9 kB / 0.7543 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.7177, allocations: 33.7 kB / 0.7543 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.7179, allocations: 212.2 kB / 0.7545 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.583e-05/0.718, allocations: 86.75 kB / 0.7546 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.718, allocations: 8 kB / 0.7546 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.7181, allocations: 350.8 kB / 0.755 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.7183, allocations: 87.89 kB / 0.755 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.7185, allocations: 132.5 kB / 0.7552 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.7188, allocations: 98.72 kB / 0.7553 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7188, allocations: 0 / 0.7553 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000495/0.7193, allocations: 293 kB / 0.7555 GB, free: 316 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7193, allocations: 4 kB / 0.7555 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.7193, allocations: 4 kB / 0.7555 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.7193, allocations: 0 / 0.7555 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.7195, allocations: 55.91 kB / 0.7556 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.7196, allocations: 1.406 kB / 0.7556 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/0.7198, allocations: 47.7 kB / 0.7556 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.7199, allocations: 8 kB / 0.7557 GB, free: 196 kB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.7201, allocations: 161.7 kB / 0.7558 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.7202, allocations: 43.52 kB / 0.7558 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006177/0.7208, allocations: 311.9 kB / 0.7561 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.7208, allocations: 4 kB / 0.7561 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.7208, allocations: 0 / 0.7561 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.7208, allocations: 7.922 kB / 0.7562 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.7221, allocations: 0.8154 MB / 0.757 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7221, allocations: 4.031 kB / 0.757 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.7223, allocations: 43.97 kB / 0.757 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.7224, allocations: 4 kB / 0.757 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.7224, allocations: 8.094 kB / 0.757 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.7224, allocations: 7.938 kB / 0.757 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7224, allocations: 0 / 0.757 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007962/0.7232, allocations: 0.5232 MB / 0.7575 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.7234, allocations: 148.5 kB / 0.7577 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.574e-05/0.7234, allocations: 4 kB / 0.7577 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.7237, allocations: 31.97 kB / 0.7577 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.7238, allocations: 23.92 kB / 0.7577 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.7238, allocations: 11.94 kB / 0.7577 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003359/0.7242, allocations: 299.1 kB / 0.758 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7242, allocations: 0 / 0.758 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004887/0.7247, allocations: 115.8 kB / 0.7581 GB, free: 13.51 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/0.726, allocations: 1.134 MB / 0.7592 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004622/0.7265, allocations: 219.4 kB / 0.7595 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7265, allocations: 0 / 0.7595 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.7267, allocations: 123.8 kB / 0.7596 GB, free: 12 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.7278, allocations: 213.8 kB / 0.7598 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/0.7316, allocations: 2.544 MB / 0.7623 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.732, allocations: 0.8353 MB / 0.7631 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003111/0.7323, allocations: 75.36 kB / 0.7631 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/0.7325, allocations: 139.4 kB / 0.7633 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.7325, allocations: 0 / 0.7633 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.7565, allocations: 11.42 MB / 0.7744 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.7567, allocations: 214.2 kB / 0.7746 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.003/2.76, allocations: 0 / 0.7746 GB, free: 12.75 MB / 0.5919 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/linux/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) Environment - environmentSimulation: