Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.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.0009183/0.0009183, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.0009548/0.0009548, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.9921/0.9921, allocations: 230.6 MB / 256 MB, free: 9.82 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03906/0.03906, allocations: 12.18 MB / 324.6 MB, free: 6.297 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004186/0.0004186, allocations: 27.95 kB / 384.1 MB, free: 10.7 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.736/1.736, allocations: 353.8 MB / 0.7787 GB, free: 3.105 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.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(AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001513/0.001513, allocations: 123.9 kB / 1.06 GB, free: 24.94 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2399, allocations: 134.9 MB / 1.192 GB, free: 7.805 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001559/0.2414, allocations: 0.64 MB / 1.192 GB, free: 7.164 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0001323/0.2416, allocations: 11.98 kB / 1.192 GB, free: 7.152 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.2416, allocations: 3.938 kB / 1.192 GB, free: 7.148 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.2417, allocations: 0 / 1.192 GB, free: 7.148 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.788e-05/0.2418, allocations: 0 / 1.192 GB, free: 7.148 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 7.411e-05/0.2418, allocations: 12 kB / 1.192 GB, free: 7.137 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.007e-05/0.2419, allocations: 23.86 kB / 1.192 GB, free: 7.113 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.242, allocations: 31.97 kB / 1.193 GB, free: 7.082 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.785e-05/0.2421, allocations: 15.92 kB / 1.193 GB, free: 7.066 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.022e-05/0.2421, allocations: 11.94 kB / 1.193 GB, free: 7.055 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.2421, allocations: 4 kB / 1.193 GB, free: 7.051 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.2421, allocations: 4 kB / 1.193 GB, free: 7.047 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.129e-05/0.2422, allocations: 15.92 kB / 1.193 GB, free: 7.031 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.195e-05/0.2422, allocations: 15.88 kB / 1.193 GB, free: 7.016 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.2424, allocations: 52.02 kB / 1.193 GB, free: 6.965 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2424, allocations: 3.938 kB / 1.193 GB, free: 6.961 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.724e-06/0.2424, allocations: 3.938 kB / 1.193 GB, free: 6.957 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2424, allocations: 4 kB / 1.193 GB, free: 6.953 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002681/0.2426, allocations: 270.2 kB / 1.193 GB, free: 6.656 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.2427, allocations: 16.02 kB / 1.193 GB, free: 6.641 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.801e-05/0.2427, allocations: 34.75 kB / 1.193 GB, free: 6.598 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.149e-05/0.2427, allocations: 8.891 kB / 1.193 GB, free: 6.59 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2428, allocations: 118.5 kB / 1.193 GB, free: 6.449 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.2429, allocations: 4.375 kB / 1.193 GB, free: 6.445 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.2429, allocations: 4.375 kB / 1.193 GB, free: 6.441 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.243, allocations: 74.23 kB / 1.193 GB, free: 6.363 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.243, allocations: 11.88 kB / 1.193 GB, free: 6.352 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.243, allocations: 4 kB / 1.193 GB, free: 6.348 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.243, allocations: 0 / 1.193 GB, free: 6.348 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.2431, allocations: 43.97 kB / 1.193 GB, free: 6.305 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.2434, allocations: 466.6 kB / 1.194 GB, free: 5.805 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.617e-05/0.2435, allocations: 165.1 kB / 1.194 GB, free: 5.633 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.2435, allocations: 88.17 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.2436, allocations: 83.27 kB / 1.194 GB, free: 5.461 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.2436, allocations: 109.8 kB / 1.194 GB, free: 5.344 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.2436, allocations: 0 / 1.194 GB, free: 5.344 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 5.565e-05/0.2437, allocations: 33.59 kB / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.2437, allocations: 134.6 kB / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.2438, allocations: 179.2 kB / 1.194 GB, free: 4.977 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.2438, allocations: 25.7 kB / 1.194 GB, free: 4.945 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.2439, allocations: 92.14 kB / 1.195 GB, free: 4.852 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-06/0.2439, allocations: 0 / 1.195 GB, free: 4.852 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.2439, allocations: 13.72 kB / 1.195 GB, free: 4.832 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.244, allocations: 318.8 kB / 1.195 GB, free: 4.512 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.244, allocations: 8 kB / 1.195 GB, free: 4.504 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.2441, allocations: 11.98 kB / 1.195 GB, free: 4.492 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.035e-05/0.2441, allocations: 16.91 kB / 1.195 GB, free: 4.473 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2441, allocations: 0 / 1.195 GB, free: 4.473 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.18e-05/0.2442, allocations: 57.58 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.2442, allocations: 4 kB / 1.195 GB, free: 4.406 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-06/0.2442, allocations: 3.984 kB / 1.195 GB, free: 4.402 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-06/0.2442, allocations: 0 / 1.195 GB, free: 4.402 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.699e-05/0.2443, allocations: 7.938 kB / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-06/0.2443, allocations: 0 / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.2443, allocations: 15.89 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.2443, allocations: 4.031 kB / 1.195 GB, free: 4.375 MB / 0.823 GB 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 (1): * Single equations (assignments): 1 * 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.17e-05/0.2443, allocations: 198.2 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.2444, allocations: 108.9 kB / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.2444, allocations: 116.7 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.68e-05/0.2445, allocations: 184.2 kB / 1.196 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-05/0.2445, allocations: 184.2 kB / 1.196 GB, free: 3.562 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.805e-05/0.2446, allocations: 176.4 kB / 1.196 GB, free: 3.383 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.2447, allocations: 401.6 kB / 1.196 GB, free: 2.941 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.081e-05/0.2448, allocations: 105 kB / 1.196 GB, free: 2.832 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.327e-05/0.2448, allocations: 101 kB / 1.196 GB, free: 2.727 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.843e-05/0.2448, allocations: 180.2 kB / 1.197 GB, free: 2.543 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.237e-05/0.2449, allocations: 180.3 kB / 1.197 GB, free: 2.359 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.572e-05/0.2449, allocations: 192.1 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.601e-05/0.2449, allocations: 180.3 kB / 1.197 GB, free: 1.98 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.907e-05/0.245, allocations: 307.7 kB / 1.197 GB, free: 1.656 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.2451, allocations: 120.9 kB / 1.198 GB, free: 1.531 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.2451, allocations: 184.2 kB / 1.198 GB, free: 1.344 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.2452, allocations: 105.2 kB / 1.198 GB, free: 1.234 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.2452, allocations: 176.3 kB / 1.198 GB, free: 1.055 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.2452, allocations: 113 kB / 1.198 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.385e-05/0.2453, allocations: 133.1 kB / 1.198 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2453, allocations: 0 / 1.198 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001417/0.2454, allocations: 8 kB / 1.198 GB, free: 0.8008 MB / 0.823 GB 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.0003774/0.2458, allocations: 0.8048 MB / 1.199 GB, free: 15.97 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 7.476e-05/0.2459, allocations: 15.92 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2459, allocations: 4.062 kB / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.2459, allocations: 0 / 1.199 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.2462, allocations: 460.6 kB / 1.199 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.2472, allocations: 1.604 MB / 1.201 GB, free: 13.81 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.2474, allocations: 0.6924 MB / 1.202 GB, free: 13.09 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 1.712e-05/0.2474, allocations: 12 kB / 1.202 GB, free: 13.08 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.2475, allocations: 15.44 kB / 1.202 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of SimCode: time 4.7e-07/0.2475, allocations: 0 / 1.202 GB, free: 13.07 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.2639, allocations: 1.73 MB / 1.203 GB, free: 11.46 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.229/6.493, allocations: 8.062 kB / 1.203 GB, free: 11.45 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.006504348479211] Failed to read output from testmodel.py, exit status != 0: 6.570208545774221 6.580639597 6.336298923 Calling exit ...