Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.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.0009306/0.0009306, allocations: 109.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.001071/0.001071, allocations: 217.7 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.9864/0.9864, allocations: 230.6 MB / 256 MB, free: 9.797 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.04156/0.04156, allocations: 12.18 MB / 324.6 MB, free: 6.352 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.0004234/0.0004234, allocations: 31.94 kB / 384.1 MB, free: 10.76 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.773/1.773, allocations: 353.8 MB / 0.7787 GB, free: 3.039 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.Average,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Average,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Average",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.001426/0.001426, allocations: 122 kB / 1.06 GB, free: 25.04 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2338, allocations: 134.9 MB / 1.192 GB, free: 7.828 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Average): time 0.001958/0.2357, allocations: 0.7034 MB / 1.192 GB, free: 7.125 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.000893/0.2366, allocations: 0.832 MB / 1.193 GB, free: 6.281 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.924e-05/0.2367, allocations: 4 kB / 1.193 GB, free: 6.277 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.591e-05/0.2367, allocations: 3.938 kB / 1.193 GB, free: 6.273 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.2368, allocations: 7.938 kB / 1.193 GB, free: 6.266 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 5.496e-05/0.2368, allocations: 11.98 kB / 1.193 GB, free: 6.254 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.823e-05/0.2369, allocations: 43.84 kB / 1.193 GB, free: 6.211 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.237, allocations: 8 kB / 1.193 GB, free: 6.203 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.807e-05/0.2371, allocations: 23.92 kB / 1.193 GB, free: 6.18 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.913e-05/0.2371, allocations: 15.92 kB / 1.193 GB, free: 6.164 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.2371, allocations: 7.984 kB / 1.193 GB, free: 6.156 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.183e-06/0.2371, allocations: 4 kB / 1.193 GB, free: 6.152 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.2371, allocations: 15.92 kB / 1.193 GB, free: 6.137 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.2372, allocations: 15.94 kB / 1.193 GB, free: 6.121 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.778e-05/0.2373, allocations: 40.09 kB / 1.193 GB, free: 6.082 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2373, allocations: 3.984 kB / 1.193 GB, free: 6.078 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2373, allocations: 0 / 1.193 GB, free: 6.078 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.2373, allocations: 3.938 kB / 1.194 GB, free: 6.074 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004752/0.2378, allocations: 278.3 kB / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2378, allocations: 16.03 kB / 1.194 GB, free: 5.754 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.2378, allocations: 38.69 kB / 1.194 GB, free: 5.707 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.12e-05/0.2379, allocations: 4.891 kB / 1.194 GB, free: 5.703 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.618e-05/0.2379, allocations: 110.5 kB / 1.194 GB, free: 5.57 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.238, allocations: 8.359 kB / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.238, allocations: 384 / 1.194 GB, free: 5.562 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.2381, allocations: 70.22 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2382, allocations: 3.938 kB / 1.194 GB, free: 5.484 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.2382, allocations: 4 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2382, allocations: 4 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.2383, allocations: 63.92 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.2387, allocations: 243.9 kB / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.2389, allocations: 62.53 kB / 1.194 GB, free: 5.062 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.326e-05/0.239, allocations: 36.91 kB / 1.194 GB, free: 5.023 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.239, allocations: 3.938 kB / 1.194 GB, free: 5.02 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.239, allocations: 30.56 kB / 1.194 GB, free: 4.98 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.239, allocations: 0 / 1.194 GB, free: 4.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0003475/0.2393, allocations: 133.5 kB / 1.195 GB, free: 4.844 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.2394, allocations: 51.41 kB / 1.195 GB, free: 4.781 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.2394, allocations: 105.8 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.2395, allocations: 25.7 kB / 1.195 GB, free: 4.637 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.2395, allocations: 96.08 kB / 1.195 GB, free: 4.539 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.2395, allocations: 11.95 kB / 1.195 GB, free: 4.527 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.2395, allocations: 13.72 kB / 1.195 GB, free: 4.508 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.2396, allocations: 310.8 kB / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.959e-05/0.2397, allocations: 31.95 kB / 1.195 GB, free: 4.164 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.2398, allocations: 31.97 kB / 1.195 GB, free: 4.133 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.2399, allocations: 76.98 kB / 1.195 GB, free: 4.055 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2399, allocations: 3.938 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001923/0.2401, allocations: 97.62 kB / 1.195 GB, free: 3.949 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2401, allocations: 8 kB / 1.195 GB, free: 3.941 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2401, allocations: 4 kB / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2401, allocations: 0 / 1.195 GB, free: 3.938 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.2402, allocations: 19.97 kB / 1.195 GB, free: 3.918 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.2402, allocations: 3.938 kB / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.2403, allocations: 11.94 kB / 1.195 GB, free: 3.902 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.2403, allocations: 4 kB / 1.195 GB, free: 3.898 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 (3): * Single equations (assignments): 3 * 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.116e-05/0.2403, allocations: 109.8 kB / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.2403, allocations: 4 kB / 1.196 GB, free: 3.777 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.2404, allocations: 12 kB / 1.196 GB, free: 3.758 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2404, allocations: 0 / 1.196 GB, free: 3.758 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2404, allocations: 3.984 kB / 1.196 GB, free: 3.754 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2404, allocations: 0 / 1.196 GB, free: 3.754 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.2405, allocations: 140.7 kB / 1.196 GB, free: 3.574 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.2405, allocations: 0 / 1.196 GB, free: 3.574 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.2405, allocations: 19.92 kB / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2405, allocations: 0 / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.2405, allocations: 0 / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2405, allocations: 0 / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2405, allocations: 4 kB / 1.196 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.2407, allocations: 203.4 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.2407, allocations: 7.938 kB / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.2408, allocations: 0 / 1.196 GB, free: 3.328 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.015e-05/0.2408, allocations: 15.98 kB / 1.196 GB, free: 3.312 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.2409, allocations: 7.984 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.2409, allocations: 4 kB / 1.196 GB, free: 3.301 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.2409, allocations: 87.2 kB / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2409, allocations: 0 / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001369/0.241, allocations: 12 kB / 1.196 GB, free: 3.203 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 (3): * Single equations (assignments): 3 * 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.0004005/0.2414, allocations: 0.724 MB / 1.197 GB, free: 2.453 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002395/0.2417, allocations: 67.92 kB / 1.197 GB, free: 2.387 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.2417, allocations: 4 kB / 1.197 GB, free: 2.383 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.2418, allocations: 39.89 kB / 1.197 GB, free: 2.344 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.242, allocations: 4 kB / 1.197 GB, free: 2.34 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003738/0.2424, allocations: 155.1 kB / 1.197 GB, free: 2.148 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.2426, allocations: 0.6846 MB / 1.198 GB, free: 1.438 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.2427, allocations: 0 / 1.198 GB, free: 1.438 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.2427, allocations: 19.42 kB / 1.198 GB, free: 1.418 MB / 0.823 GB Notification: Performance of SimCode: time 5.71e-07/0.2427, allocations: 0 / 1.198 GB, free: 1.418 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.2573, allocations: 1.755 MB / 1.199 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.281/6.538, allocations: 4.594 kB / 1.199 GB, free: 15.8 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Average_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Average.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.053719556890428] Failed to read output from testmodel.py, exit status != 0: 6.615420617163181 6.624739474 6.385621157 Calling exit ...