Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.0007642/0.0007642, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.0007599/0.0007599, allocations: 216 kB / 22.25 MB, free: 3.578 MB / 13.93 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.941/0.941, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.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.7809/0.7809, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [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.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001575/0.001575, allocations: 67 kB / 0.7181 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5116, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001522/0.5131, allocations: 0.535 MB / 0.8183 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.5132, allocations: 11.94 kB / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.5133, allocations: 1.531 kB / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.5133, allocations: 0 / 0.8183 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001511/0.5134, allocations: 11.3 kB / 0.8183 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.208e-06/0.5134, allocations: 0 / 0.8183 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.624e-05/0.5135, allocations: 5.188 kB / 0.8183 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.5135, allocations: 0.6562 kB / 0.8183 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.217e-05/0.5136, allocations: 0.9375 kB / 0.8183 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.5136, allocations: 11.84 kB / 0.8183 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.5136, allocations: 0 / 0.8183 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.312e-06/0.5136, allocations: 0 / 0.8183 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.5137, allocations: 0 / 0.8183 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.676e-05/0.5137, allocations: 4.641 kB / 0.8183 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.762e-05/0.5137, allocations: 6.203 kB / 0.8184 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5137, allocations: 0 / 0.8184 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5137, allocations: 3.938 kB / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.5137, allocations: 0 / 0.8184 GB, free: 0.6719 MB / 0.6042 GB 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.0002083/0.514, allocations: 243.1 kB / 0.8186 GB, free: 420 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.514, allocations: 18.22 kB / 0.8186 GB, free: 412 kB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.409e-05/0.514, allocations: 35.44 kB / 0.8186 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.944e-05/0.514, allocations: 0.9375 kB / 0.8186 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.443e-05/0.5141, allocations: 107.2 kB / 0.8187 GB, free: 240 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.5141, allocations: 384 / 0.8187 GB, free: 240 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.5141, allocations: 384 / 0.8187 GB, free: 240 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.5142, allocations: 45.53 kB / 0.8188 GB, free: 188 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.5142, allocations: 3.938 kB / 0.8188 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.5142, allocations: 2.922 kB / 0.8188 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.5142, allocations: 0 / 0.8188 GB, free: 184 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.962e-05/0.5142, allocations: 9.875 kB / 0.8188 GB, free: 176 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.059e-05/0.5143, allocations: 127.5 kB / 0.8189 GB, free: 8 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.233e-05/0.5144, allocations: 33.38 kB / 0.819 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.5144, allocations: 17.19 kB / 0.819 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.5144, allocations: 4 kB / 0.819 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.5145, allocations: 33.25 kB / 0.819 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.5145, allocations: 1.625 kB / 0.819 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001286/0.5146, allocations: 45.83 kB / 0.8191 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.5146, allocations: 82.09 kB / 0.8191 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.004e-05/0.5147, allocations: 98.69 kB / 0.8192 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.5147, allocations: 25.7 kB / 0.8192 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.212e-05/0.5147, allocations: 80.14 kB / 0.8193 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.5147, allocations: 4.891 kB / 0.8193 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.5148, allocations: 15.72 kB / 0.8193 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.25e-05/0.5148, allocations: 313.7 kB / 0.8196 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.5149, allocations: 2.625 kB / 0.8196 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.5149, allocations: 12.03 kB / 0.8197 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.5149, allocations: 30.11 kB / 0.8197 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5149, allocations: 0 / 0.8197 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.611e-05/0.5149, allocations: 38.97 kB / 0.8197 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.515, allocations: 9.562 kB / 0.8197 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.515, allocations: 1.094 kB / 0.8197 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.515, allocations: 2.328 kB / 0.8197 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.5151, allocations: 6.875 kB / 0.8197 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.5151, allocations: 0.9844 kB / 0.8197 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.335e-05/0.5151, allocations: 3.312 kB / 0.8197 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.5151, allocations: 5.938 kB / 0.8198 GB, free: 15.12 MB / 0.6198 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.51e-05/0.5151, allocations: 116.9 kB / 0.8199 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.232e-06/0.5151, allocations: 3.938 kB / 0.8199 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.5152, allocations: 58.27 kB / 0.8199 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5153, allocations: 0 / 0.8199 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5153, allocations: 3.344 kB / 0.8199 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5153, allocations: 3.984 kB / 0.8199 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.474e-05/0.5153, allocations: 120.5 kB / 0.82 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.5153, allocations: 0.5938 kB / 0.82 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.5154, allocations: 5.719 kB / 0.8201 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5154, allocations: 7.938 kB / 0.8201 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.5154, allocations: 1.625 kB / 0.8201 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5154, allocations: 0 / 0.8201 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5154, allocations: 1.969 kB / 0.8201 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.689e-05/0.5154, allocations: 70.94 kB / 0.8201 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.5155, allocations: 5.766 kB / 0.8201 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.5155, allocations: 9.344 kB / 0.8201 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.1e-05/0.5155, allocations: 4 kB / 0.8201 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.228e-05/0.5155, allocations: 0.75 kB / 0.8201 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.5155, allocations: 4.031 kB / 0.8202 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.276e-05/0.5155, allocations: 79.55 kB / 0.8202 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5155, allocations: 0 / 0.8202 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001256/0.5157, allocations: 0 / 0.8202 GB, free: 14.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0002631/0.5159, allocations: 0.6005 MB / 0.8208 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.82e-05/0.516, allocations: 13.25 kB / 0.8208 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.516, allocations: 0 / 0.8208 GB, free: 14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.888e-06/0.516, allocations: 12.91 kB / 0.8208 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.5161, allocations: 1.969 kB / 0.8208 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.5164, allocations: 119 kB / 0.821 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.5164, allocations: 57.91 kB / 0.821 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.5165, allocations: 4.219 kB / 0.821 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.5165, allocations: 7.438 kB / 0.821 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.5165, allocations: 0 / 0.821 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.5336, allocations: 1.435 MB / 0.8224 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.353/6.887, allocations: 0.9844 kB / 0.8224 GB, free: 12.95 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.85215413197875] Failed to read output from testmodel.py, exit status != 0: 6.96462067682296 6.973962503 6.458190085 Calling exit ...