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.0008143/0.0008143, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008495/0.0008495, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.88/0.88, allocations: 177.2 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.7088/0.7088, allocations: 154.6 MB / 413.7 MB, free: 0.8242 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.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: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/2.02e-05, allocations: 2.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001361/0.001381, allocations: 0.5336 MB / 0.6185 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000132/0.001513, allocations: 15.92 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.75e-05/0.001541, allocations: 0 / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.001557, allocations: 4 kB / 0.6186 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.001708, allocations: 3.938 kB / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.398e-06/0.001713, allocations: 0 / 0.6186 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.161e-05/0.001774, allocations: 7.938 kB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.001818, allocations: 3.984 kB / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.001891, allocations: 0 / 0.6186 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.698e-05/0.001928, allocations: 8 kB / 0.6186 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.001944, allocations: 0 / 0.6186 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-06/0.001949, allocations: 0 / 0.6186 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.001961, allocations: 3.938 kB / 0.6186 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.341e-05/0.001975, allocations: 0 / 0.6186 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 4.881e-05/0.002023, allocations: 7.938 kB / 0.6186 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002026, allocations: 0 / 0.6186 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002027, allocations: 0 / 0.6186 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.00203, allocations: 0 / 0.6186 GB, free: 13.14 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002199/0.00225, allocations: 238.5 kB / 0.6188 GB, free: 12.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.002289, allocations: 9.469 kB / 0.6188 GB, free: 12.87 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.719e-05/0.002316, allocations: 38.75 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.792e-05/0.002334, allocations: 0.9375 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.136e-05/0.002395, allocations: 101.8 kB / 0.619 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.002404, allocations: 384 / 0.619 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.002412, allocations: 4.375 kB / 0.619 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.899e-05/0.002501, allocations: 51.91 kB / 0.619 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.002508, allocations: 192 / 0.619 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-06/0.002516, allocations: 384 / 0.619 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.002522, allocations: 4.125 kB / 0.619 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.002568, allocations: 4 kB / 0.619 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.002701, allocations: 137.7 kB / 0.6192 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.128e-05/0.002753, allocations: 33.22 kB / 0.6192 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.00277, allocations: 17.72 kB / 0.6192 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.002791, allocations: 0 / 0.6192 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.002812, allocations: 34.56 kB / 0.6192 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.002813, allocations: 0 / 0.6192 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001266/0.002939, allocations: 45.62 kB / 0.6193 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.002978, allocations: 85.05 kB / 0.6194 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.814e-05/0.003027, allocations: 98.05 kB / 0.6195 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.003038, allocations: 33.58 kB / 0.6195 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.109e-05/0.003059, allocations: 80.14 kB / 0.6196 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.003086, allocations: 7.891 kB / 0.6196 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.003112, allocations: 17.72 kB / 0.6196 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.003191, allocations: 314.8 kB / 0.6199 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-06/0.003201, allocations: 4 kB / 0.6199 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.395e-05/0.003215, allocations: 9.719 kB / 0.6199 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/0.003241, allocations: 21.72 kB / 0.6199 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.003244, allocations: 4.188 kB / 0.6199 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.466e-05/0.003288, allocations: 41.62 kB / 0.62 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.003304, allocations: 8 kB / 0.62 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.003309, allocations: 0 / 0.62 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.003322, allocations: 0 / 0.62 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.003388, allocations: 7.938 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.003393, allocations: 0 / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.003404, allocations: 3.953 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.00341, allocations: 0 / 0.62 GB, free: 11.48 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 6.704e-05/0.003477, allocations: 114.9 kB / 0.6201 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-06/0.003482, allocations: 7.984 kB / 0.6201 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.442e-05/0.003566, allocations: 48.62 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.00357, allocations: 4 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.003577, allocations: 3.938 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.003581, allocations: 3.984 kB / 0.6202 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.558e-05/0.003656, allocations: 116.8 kB / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.003657, allocations: 0 / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.003675, allocations: 8 kB / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.003677, allocations: 8 kB / 0.6203 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.003683, allocations: 0 / 0.6203 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.003683, allocations: 0 / 0.6203 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.003685, allocations: 3.938 kB / 0.6203 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.442e-05/0.00374, allocations: 69.98 kB / 0.6204 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.003777, allocations: 4 kB / 0.6204 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.003786, allocations: 3.984 kB / 0.6204 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-06/0.003794, allocations: 0 / 0.6204 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.003807, allocations: 3.938 kB / 0.6204 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.003809, allocations: 4 kB / 0.6204 GB, free: 11 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.361e-05/0.003833, allocations: 87.25 kB / 0.6205 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.003833, allocations: 0 / 0.6205 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001254/0.003959, allocations: 0 / 0.6205 GB, free: 10.91 MB / 0.5886 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.0002218/0.00418, allocations: 0.5977 MB / 0.621 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.104e-05/0.004241, allocations: 11.94 kB / 0.6211 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.004243, allocations: 0 / 0.6211 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.703e-06/0.004249, allocations: 11.92 kB / 0.6211 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001009/0.00435, allocations: 14.5 kB / 0.6211 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.004597, allocations: 111.5 kB / 0.6212 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.024e-05/0.004637, allocations: 63.34 kB / 0.6212 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.376e-05/0.004651, allocations: 0 / 0.6212 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.004677, allocations: 8.5 kB / 0.6213 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of SimCode: time 3.1e-07/0.004677, allocations: 4 kB / 0.6213 GB, free: 10 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01395/0.01862, allocations: 1.569 MB / 0.6228 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/7.16, allocations: 7.406 kB / 0.6228 GB, free: 8.562 MB / 0.5886 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 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.802059417590499] Failed to read output from testmodel.py, exit status != 0: 7.238959104754031 7.2524497310000005 7.247962785 Calling exit ...