Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.TIRTest.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.001407/0.001407, allocations: 108.8 kB / 16.45 MB, free: 6.453 MB / 14.72 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.001426/0.001426, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.445/1.445, allocations: 230.6 MB / 252.8 MB, free: 9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01533/0.01533, allocations: 3.282 MB / 312.1 MB, free: 0.9961 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/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(ExternData.Examples.TIRTest,fileNamePrefix="ExternData_ExternData_Examples_TIRTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.TIRTest,fileNamePrefix="ExternData_ExternData_Examples_TIRTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternData requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.91 kB / 434.4 MB, free: 14.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08599/0.08795, allocations: 54.35 MB / 488.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.TIRTest): time 0.002157/0.09011, allocations: 0.7545 MB / 489.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009941/0.0911, allocations: 0.7504 MB / 490.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.09114, allocations: 0 / 490.2 MB, free: 6.828 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:301:3-326:14:writable] Warning: Pure function 'ExternData.TIRFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.09136, allocations: 19.92 kB / 490.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.09147, allocations: 23.86 kB / 490.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.396e-05/0.09148, allocations: 4 kB / 490.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.09154, allocations: 27.84 kB / 490.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.09158, allocations: 0 / 490.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.09159, allocations: 4 kB / 490.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.09171, allocations: 15.92 kB / 490.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.09172, allocations: 4 kB / 490.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.074e-05/0.09177, allocations: 12 kB / 490.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.09179, allocations: 11.98 kB / 490.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.09181, allocations: 7.938 kB / 490.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.09193, allocations: 35.84 kB / 490.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.09193, allocations: 0 / 490.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.09193, allocations: 0 / 490.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.09194, allocations: 0 / 490.4 MB, free: 6.664 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004098/0.09235, allocations: 335.3 kB / 490.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.09239, allocations: 8.031 kB / 490.7 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.217e-05/0.09242, allocations: 30.75 kB / 490.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.09245, allocations: 8.938 kB / 490.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.09262, allocations: 172.3 kB / 490.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.09263, allocations: 4.375 kB / 490.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.09264, allocations: 384 / 490.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.09273, allocations: 43.97 kB / 491 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.09274, allocations: 3.938 kB / 491 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.09275, allocations: 3.938 kB / 491 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.09275, allocations: 0 / 491 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.968e-05/0.09277, allocations: 8 kB / 491 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.09319, allocations: 483.6 kB / 491.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.09329, allocations: 177 kB / 491.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.09334, allocations: 80.14 kB / 491.7 MB, free: 5.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.09337, allocations: 79.28 kB / 491.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.09342, allocations: 109.8 kB / 491.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.09343, allocations: 0 / 491.9 MB, free: 4.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.302e-05/0.09351, allocations: 29.64 kB / 491.9 MB, free: 4.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/0.09358, allocations: 126.7 kB / 492.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.09371, allocations: 121.8 kB / 492.2 MB, free: 4.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.09372, allocations: 25.7 kB / 492.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.531e-05/0.09379, allocations: 92.12 kB / 492.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.09379, allocations: 0 / 492.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/0.09381, allocations: 9.719 kB / 492.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.09395, allocations: 314.8 kB / 492.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.09396, allocations: 0 / 492.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-06/0.09396, allocations: 0 / 492.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/0.09399, allocations: 79.22 kB / 492.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.143e-05/0.09403, allocations: 75.28 kB / 492.8 MB, free: 4.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.104e-05/0.0941, allocations: 37.7 kB / 492.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.617e-05/0.09414, allocations: 79.28 kB / 492.9 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/0.09418, allocations: 87.2 kB / 493 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.707e-05/0.09426, allocations: 150.6 kB / 493.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.565e-05/0.09429, allocations: 79.22 kB / 493.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.947e-05/0.09435, allocations: 150.7 kB / 493.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.09444, allocations: 87.28 kB / 493.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.09447, allocations: 83.25 kB / 493.5 MB, free: 3.301 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001323/0.0946, allocations: 264.3 kB / 493.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.09468, allocations: 113 kB / 493.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.727e-05/0.09473, allocations: 108.5 kB / 494 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.396e-05/0.09481, allocations: 180.3 kB / 494.1 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.151e-05/0.09489, allocations: 188.2 kB / 494.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.407e-05/0.09496, allocations: 176.3 kB / 494.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.09522, allocations: 413.1 kB / 494.9 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.536e-05/0.09527, allocations: 104.9 kB / 495 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.09531, allocations: 105 kB / 495.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.851e-05/0.09539, allocations: 188.2 kB / 495.3 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.396e-05/0.09547, allocations: 180.2 kB / 495.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.449e-05/0.09554, allocations: 180.2 kB / 495.6 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.702e-05/0.09562, allocations: 180.2 kB / 495.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.09578, allocations: 319.7 kB / 496.1 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.626e-05/0.09588, allocations: 186.1 kB / 496.3 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.09599, allocations: 176.3 kB / 496.5 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.09609, allocations: 108.9 kB / 496.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.09618, allocations: 184.2 kB / 496.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.09622, allocations: 108.9 kB / 496.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.829e-05/0.09629, allocations: 91.28 kB / 497 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09629, allocations: 0 / 497 MB, free: 15.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.09656, allocations: 7.938 kB / 497 MB, free: 15.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0007732/0.09733, allocations: 0.869 MB / 497.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.383e-05/0.09738, allocations: 11.94 kB / 497.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.09738, allocations: 4 kB / 497.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.09738, allocations: 0 / 497.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005297/0.09791, allocations: 459.7 kB / 498.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.09923, allocations: 1.606 MB / 499.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.09955, allocations: 0.6768 MB / 0.4889 GB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.841e-05/0.09958, allocations: 8 kB / 0.4889 GB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.09963, allocations: 15.44 kB / 0.4889 GB, free: 11.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.09963, allocations: 0 / 0.4889 GB, free: 11.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.1258, allocations: 1.508 MB / 0.4904 GB, free: 10.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/8.617, allocations: 7.594 kB / 0.4904 GB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 651] (rm -f ExternData_ExternData.Examples.TIRTest.pipe ; mkfifo ExternData_ExternData.Examples.TIRTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.TIRTest.pipe >> ../files/ExternData_ExternData.Examples.TIRTest.sim & python3 -m fmpy simulate --output-file ExternData_ExternData.Examples.TIRTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ExternData_ExternData_Examples_TIRTest.fmu > ExternData_ExternData.Examples.TIRTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.20938779100834] Failed to read output from testmodel.py, exit status != 0: 8.68687766099174 8.708639132 8.612242706 Calling exit ...