Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8287/0.8287, allocations: 134 MB / 436.6 MB, free: 13.81 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.89 kB / 0.6051 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4104, allocations: 84.68 MB / 0.6878 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001504/0.4119, allocations: 0.5118 MB / 0.6883 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001341/0.412, allocations: 19.69 kB / 0.6883 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.139e-05/0.412, allocations: 1.125 kB / 0.6883 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.412, allocations: 3.938 kB / 0.6883 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.4122, allocations: 1.156 kB / 0.6883 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.737e-06/0.4122, allocations: 0 / 0.6883 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.792e-05/0.4122, allocations: 6.188 kB / 0.6883 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.065e-05/0.4123, allocations: 1.156 kB / 0.6883 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.557e-05/0.4123, allocations: 5.031 kB / 0.6883 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.753e-05/0.4123, allocations: 4.984 kB / 0.6883 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.4123, allocations: 0 / 0.6883 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-06/0.4123, allocations: 0 / 0.6883 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.4124, allocations: 1.156 kB / 0.6883 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.4124, allocations: 11.92 kB / 0.6883 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.545e-05/0.4124, allocations: 1.094 kB / 0.6883 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4124, allocations: 0 / 0.6883 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4124, allocations: 1.188 kB / 0.6883 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4124, allocations: 4 kB / 0.6883 GB, free: 1.375 MB / 0.4981 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.000213/0.4126, allocations: 312.7 kB / 0.6886 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4127, allocations: 9.938 kB / 0.6886 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.274e-05/0.4127, allocations: 30.75 kB / 0.6887 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.025e-05/0.4127, allocations: 6.016 kB / 0.6887 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.516e-05/0.4128, allocations: 160.4 kB / 0.6888 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.4128, allocations: 1.469 kB / 0.6888 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.4128, allocations: 9.25 kB / 0.6888 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.4129, allocations: 42.67 kB / 0.6889 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.4129, allocations: 0 / 0.6889 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.4129, allocations: 1.094 kB / 0.6889 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4129, allocations: 0 / 0.6889 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.413, allocations: 11.17 kB / 0.6889 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.4131, allocations: 152.6 kB / 0.689 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.376e-05/0.4131, allocations: 40.34 kB / 0.6891 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.4131, allocations: 19.84 kB / 0.6891 GB, free: 456 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.4131, allocations: 5.078 kB / 0.6891 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.4132, allocations: 31.62 kB / 0.6891 GB, free: 412 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.4132, allocations: 0 / 0.6891 GB, free: 412 kB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001391/0.4133, allocations: 43.14 kB / 0.6892 GB, free: 372 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.4133, allocations: 86.39 kB / 0.6893 GB, free: 268 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.52e-05/0.4133, allocations: 89.86 kB / 0.6893 GB, free: 168 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.442e-06/0.4134, allocations: 25.7 kB / 0.6894 GB, free: 136 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.025e-05/0.4134, allocations: 81.27 kB / 0.6894 GB, free: 52 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.4134, allocations: 13.02 kB / 0.6895 GB, free: 40 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.323e-05/0.4134, allocations: 15.81 kB / 0.6895 GB, free: 20 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4136, allocations: 311.8 kB / 0.6898 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.4136, allocations: 1.094 kB / 0.6898 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.4136, allocations: 16.94 kB / 0.6898 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/0.4136, allocations: 22.16 kB / 0.6898 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4136, allocations: 0 / 0.6898 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.774e-05/0.4137, allocations: 46.97 kB / 0.6898 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4137, allocations: 4.812 kB / 0.6899 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4137, allocations: 9.391 kB / 0.6899 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4138, allocations: 5.312 kB / 0.6899 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.053e-05/0.4138, allocations: 6.25 kB / 0.6899 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.4138, allocations: 1.094 kB / 0.6899 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.4138, allocations: 1.125 kB / 0.6899 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4139, allocations: 5.047 kB / 0.6899 GB, free: 15.6 MB / 0.5137 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 7.542e-05/0.4139, allocations: 110.9 kB / 0.69 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.4139, allocations: 9.047 kB / 0.69 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.4141, allocations: 54 kB / 0.69 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4141, allocations: 0 / 0.69 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4141, allocations: 1.375 kB / 0.69 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4141, allocations: 0 / 0.69 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.4142, allocations: 147.7 kB / 0.6902 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-06/0.4142, allocations: 7.922 kB / 0.6902 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.4142, allocations: 3.906 kB / 0.6902 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4142, allocations: 0 / 0.6902 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.4142, allocations: 1.188 kB / 0.6902 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4142, allocations: 5.172 kB / 0.6902 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4142, allocations: 4.062 kB / 0.6902 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.863e-05/0.4143, allocations: 71.67 kB / 0.6903 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.4144, allocations: 81.05 kB / 0.6904 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.4144, allocations: 1.344 kB / 0.6904 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.744e-05/0.4144, allocations: 5.156 kB / 0.6904 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.4144, allocations: 4.969 kB / 0.6904 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.4144, allocations: 5.062 kB / 0.6904 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.255e-05/0.4144, allocations: 75.28 kB / 0.6904 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4144, allocations: 1.062 kB / 0.6904 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001747/0.4146, allocations: 1.094 kB / 0.6904 GB, free: 14.95 MB / 0.5137 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.0004113/0.415, allocations: 0.6042 MB / 0.691 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.702e-05/0.4151, allocations: 14.95 kB / 0.691 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4151, allocations: 0 / 0.691 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.4151, allocations: 6.75 kB / 0.6911 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.4152, allocations: 5.812 kB / 0.6911 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.4156, allocations: 121.2 kB / 0.6912 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.4159, allocations: 0.6713 MB / 0.6918 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.041e-05/0.4159, allocations: 1.375 kB / 0.6918 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.4159, allocations: 8.438 kB / 0.6918 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.4159, allocations: 0 / 0.6918 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.439, allocations: 0.9135 MB / 0.6927 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/8.203, allocations: 11.98 kB / 0.6927 GB, free: 12.93 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.45202251104638] Failed to read output from testmodel.py, exit status != 0: 8.270715007092804 8.296252693 7.87886741 Calling exit ...