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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008064/0.0008064, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008277/0.0008277, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9248/0.9248, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7104/0.7104, allocations: 154.5 MB / 413.7 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.286e-05, allocations: 5.891 kB / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.Orifice): time 0.4266/0.4266, allocations: 153.4 MB / 0.7679 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003452/0.4301, allocations: 2.304 MB / 0.7701 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005004/0.4306, allocations: 20.66 kB / 0.7701 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.4313, allocations: 233 kB / 0.7703 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.4338, allocations: 0.995 MB / 0.7713 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.436, allocations: 0.9033 MB / 0.7722 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.4375, allocations: 0.9909 MB / 0.7732 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005173/0.438, allocations: 268.1 kB / 0.7734 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001385/0.4394, allocations: 0.7467 MB / 0.7742 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.4398, allocations: 277.2 kB / 0.7744 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.988e-05/0.4399, allocations: 32.88 kB / 0.7744 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.442, allocations: 0.8674 MB / 0.7753 GB, free: 476 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.4422, allocations: 162.2 kB / 0.7755 GB, free: 396 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.4424, allocations: 167.7 kB / 0.7756 GB, free: 332 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.4445, allocations: 0.9666 MB / 0.7766 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4445, allocations: 3.938 kB / 0.7766 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4445, allocations: 1.562 kB / 0.7766 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.4445, allocations: 0 / 0.7766 GB, free: 15.99 MB / 0.6511 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.001369/0.4458, allocations: 0.7403 MB / 0.7773 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4459, allocations: 15.34 kB / 0.7773 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.732e-05/0.446, allocations: 68.61 kB / 0.7774 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.447, allocations: 232.5 kB / 0.7776 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.4477, allocations: 335.1 kB / 0.7779 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.4477, allocations: 21.59 kB / 0.7779 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.4477, allocations: 28.12 kB / 0.778 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006237/0.4484, allocations: 454.4 kB / 0.7784 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.4484, allocations: 4.891 kB / 0.7784 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.4484, allocations: 14.97 kB / 0.7784 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-05/0.4484, allocations: 22.69 kB / 0.7784 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.4489, allocations: 305.6 kB / 0.7787 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.4504, allocations: 1.364 MB / 0.78 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.4509, allocations: 264.7 kB / 0.7803 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.4511, allocations: 137.1 kB / 0.7804 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002844/0.4514, allocations: 76.75 kB / 0.7805 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.4514, allocations: 36.88 kB / 0.7805 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 3.386e-06/0.4514, allocations: 0 / 0.7805 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0008265/0.4522, allocations: 436 kB / 0.781 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.4523, allocations: 54.12 kB / 0.781 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.4527, allocations: 424.7 kB / 0.7814 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.4527, allocations: 30.83 kB / 0.7814 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.4528, allocations: 223.7 kB / 0.7817 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.949e-05/0.4529, allocations: 89.19 kB / 0.7817 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.593e-05/0.4529, allocations: 47.8 kB / 0.7818 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0005066/0.4535, allocations: 352.2 kB / 0.7821 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.4536, allocations: 104.1 kB / 0.7822 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.4539, allocations: 204.7 kB / 0.7824 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.4542, allocations: 262 kB / 0.7827 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4542, allocations: 1.281 kB / 0.7827 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004943/0.4547, allocations: 338 kB / 0.783 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4547, allocations: 10.09 kB / 0.783 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4548, allocations: 1.438 kB / 0.783 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4548, allocations: 1.469 kB / 0.783 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.455, allocations: 58.34 kB / 0.7831 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.455, allocations: 2.344 kB / 0.7831 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.4552, allocations: 38.84 kB / 0.7831 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.4552, allocations: 15.02 kB / 0.7831 GB, free: 12 MB / 0.6511 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.0001592/0.4554, allocations: 166.5 kB / 0.7833 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.4554, allocations: 48.97 kB / 0.7833 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.456, allocations: 332.8 kB / 0.7836 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.456, allocations: 3.312 kB / 0.7836 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.456, allocations: 0 / 0.7836 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.456, allocations: 1.031 kB / 0.7836 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.4571, allocations: 0.8206 MB / 0.7844 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.4571, allocations: 3.625 kB / 0.7844 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.4573, allocations: 58.92 kB / 0.7845 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.4573, allocations: 2.594 kB / 0.7845 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.4573, allocations: 12.34 kB / 0.7845 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.4573, allocations: 6.438 kB / 0.7845 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4573, allocations: 1.25 kB / 0.7845 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000738/0.458, allocations: 0.5787 MB / 0.7851 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.4582, allocations: 80.39 kB / 0.7852 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.4582, allocations: 11.06 kB / 0.7852 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.4584, allocations: 18.98 kB / 0.7852 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.4584, allocations: 19.95 kB / 0.7852 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.4584, allocations: 9.938 kB / 0.7852 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002409/0.4587, allocations: 304.9 kB / 0.7855 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6e-08/0.4587, allocations: 0 / 0.7855 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004281/0.4591, allocations: 115.4 kB / 0.7856 GB, free: 10.61 MB / 0.6511 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.001238/0.4604, allocations: 1.188 MB / 0.7868 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005314/0.4609, allocations: 256.9 kB / 0.787 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4609, allocations: 2.031 kB / 0.787 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.4611, allocations: 137.9 kB / 0.7872 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007505/0.4619, allocations: 225.8 kB / 0.7874 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/0.4661, allocations: 3.815 MB / 0.7911 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.4663, allocations: 224.3 kB / 0.7913 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003199/0.4666, allocations: 84.25 kB / 0.7914 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.4668, allocations: 143.1 kB / 0.7915 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of SimCode: time 1.422e-06/0.4668, allocations: 0 / 0.7915 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/0.4992, allocations: 14.15 MB / 0.8054 GB, free: 1.273 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.241/7.74, allocations: 5.188 kB / 0.8054 GB, free: 1.273 MB / 0.6511 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_Orifice.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.585452559404075] Failed to read output from testmodel.py, exit status != 0: 7.829843641258776 7.845400522 7.397680029 Calling exit ...