Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.0008533/0.0008533, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009679/0.0009679, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9375/0.9375, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7465/0.7465, allocations: 154.5 MB / 413.7 MB, free: 0.8398 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.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.333e-05, allocations: 13.09 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001235/0.001258, allocations: 0.5247 MB / 0.6185 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.00141, allocations: 35.83 kB / 0.6186 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.102e-05/0.001461, allocations: 3.938 kB / 0.6186 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.239e-05/0.001493, allocations: 0 / 0.6186 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.001645, allocations: 4 kB / 0.6186 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.482e-05/0.0017, allocations: 15.86 kB / 0.6186 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.001762, allocations: 11.98 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.001801, allocations: 4 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.514e-05/0.001857, allocations: 7.938 kB / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.001925, allocations: 11.98 kB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.001948, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.001956, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.002007, allocations: 4 kB / 0.6186 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.002036, allocations: 7.922 kB / 0.6187 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.708e-05/0.002103, allocations: 7.984 kB / 0.6187 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.002106, allocations: 0 / 0.6187 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.663e-06/0.002107, allocations: 0 / 0.6187 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.002112, allocations: 4 kB / 0.6187 GB, free: 13.13 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000362/0.002474, allocations: 258.3 kB / 0.6189 GB, free: 12.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.002519, allocations: 13.47 kB / 0.6189 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.612e-05/0.002555, allocations: 30.75 kB / 0.619 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.126e-05/0.002577, allocations: 0.9375 kB / 0.619 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.002728, allocations: 121.7 kB / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.002736, allocations: 384 / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.002751, allocations: 384 / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.874e-05/0.00282, allocations: 34.2 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.002827, allocations: 4.188 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.002834, allocations: 384 / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.002839, allocations: 4.125 kB / 0.6191 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.789e-05/0.002857, allocations: 7.984 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.002982, allocations: 124.8 kB / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.032e-05/0.003022, allocations: 22.56 kB / 0.6193 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.574e-05/0.003038, allocations: 8.922 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.003053, allocations: 3.938 kB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.003071, allocations: 34.5 kB / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.003072, allocations: 0 / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.003201, allocations: 49.69 kB / 0.6193 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.003233, allocations: 59.33 kB / 0.6194 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.684e-05/0.003299, allocations: 109.8 kB / 0.6195 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.318e-06/0.003309, allocations: 25.7 kB / 0.6195 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.003343, allocations: 84.14 kB / 0.6196 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.003363, allocations: 11.83 kB / 0.6196 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.003388, allocations: 13.72 kB / 0.6196 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/0.003468, allocations: 310.8 kB / 0.6199 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.003486, allocations: 11.98 kB / 0.6199 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.003509, allocations: 17.66 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.003543, allocations: 25.89 kB / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.003545, allocations: 0 / 0.62 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.443e-05/0.0036, allocations: 49.62 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.003613, allocations: 10.03 kB / 0.62 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.003618, allocations: 0 / 0.62 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.00363, allocations: 0 / 0.62 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.003699, allocations: 7.938 kB / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.003704, allocations: 0 / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.003717, allocations: 256 / 0.6201 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.003725, allocations: 12.06 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 5.397e-05/0.003779, allocations: 110.8 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-06/0.003784, allocations: 4 kB / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.926e-05/0.003874, allocations: 49.09 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.003875, allocations: 0 / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.00388, allocations: 3.938 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.003883, allocations: 4 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.632e-05/0.00396, allocations: 124.8 kB / 0.6203 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.003961, allocations: 0 / 0.6203 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.004006, allocations: 8.031 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.004008, allocations: 0 / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.004015, allocations: 0 / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.004017, allocations: 3.984 kB / 0.6204 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.00402, allocations: 3.938 kB / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.00412, allocations: 77.08 kB / 0.6204 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.004142, allocations: 12.02 kB / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.004153, allocations: 0 / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.004163, allocations: 3.938 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.004177, allocations: 3.938 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.004181, allocations: 4.094 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.004215, allocations: 91.27 kB / 0.6205 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.004215, allocations: 7.938 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001187/0.004334, allocations: 3.938 kB / 0.6206 GB, free: 10.91 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0002586/0.004593, allocations: 0.6047 MB / 0.6211 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.004666, allocations: 15.94 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.004667, allocations: 0 / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/0.004677, allocations: 11.98 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001135/0.004791, allocations: 8.219 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.005805, allocations: 1.139 MB / 0.6223 GB, free: 9.004 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.005845, allocations: 63.34 kB / 0.6224 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.871e-05/0.005864, allocations: 0 / 0.6224 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.0059, allocations: 20.48 kB / 0.6224 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/0.005901, allocations: 0 / 0.6224 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.02427, allocations: 1.845 MB / 0.6242 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.178/7.202, allocations: 12.61 kB / 0.6242 GB, free: 7.184 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.065505025908351] Failed to read output from testmodel.py, exit status != 0: 7.2802644250914454 7.288156298 7.284172288 Calling exit ...