Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.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.0008381/0.0008381, 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.0009765/0.0009765, allocations: 221.7 kB / 22.26 MB, free: 3.688 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.954/0.954, allocations: 230.6 MB / 256 MB, free: 9.805 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.03891/0.03891, allocations: 12.18 MB / 324.6 MB, free: 6.258 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.0005401/0.0005401, allocations: 31.89 kB / 384.1 MB, free: 10.66 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.71/1.71, allocations: 353.8 MB / 0.7787 GB, free: 3.164 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.Cos,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Cos",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.001463/0.001463, allocations: 125.1 kB / 1.06 GB, free: 25.09 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2328, allocations: 134.9 MB / 1.192 GB, free: 7.906 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001531/0.2344, allocations: 0.6555 MB / 1.192 GB, free: 7.25 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2354, allocations: 0.8591 MB / 1.193 GB, free: 6.379 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.2355, allocations: 4 kB / 1.193 GB, free: 6.375 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.2355, allocations: 4 kB / 1.193 GB, free: 6.371 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.255e-05/0.2355, allocations: 3.938 kB / 1.193 GB, free: 6.367 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.2358, allocations: 15.92 kB / 1.193 GB, free: 6.352 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.482e-05/0.2358, allocations: 19.98 kB / 1.193 GB, free: 6.332 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2359, allocations: 7.984 kB / 1.193 GB, free: 6.324 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.55e-05/0.236, allocations: 15.88 kB / 1.193 GB, free: 6.309 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.236, allocations: 7.984 kB / 1.193 GB, free: 6.301 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.236, allocations: 4 kB / 1.193 GB, free: 6.297 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.302e-05/0.2361, allocations: 4 kB / 1.193 GB, free: 6.293 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.2361, allocations: 0 / 1.193 GB, free: 6.293 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.2361, allocations: 15.94 kB / 1.193 GB, free: 6.277 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.2362, allocations: 36.09 kB / 1.193 GB, free: 6.242 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.2362, allocations: 0 / 1.193 GB, free: 6.242 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.785e-06/0.2362, allocations: 4 kB / 1.193 GB, free: 6.238 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.2362, allocations: 0 / 1.193 GB, free: 6.238 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003934/0.2366, allocations: 254.4 kB / 1.194 GB, free: 5.957 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2367, allocations: 12.03 kB / 1.194 GB, free: 5.945 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.647e-05/0.2367, allocations: 30.75 kB / 1.194 GB, free: 5.906 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.538e-05/0.2368, allocations: 4.891 kB / 1.194 GB, free: 5.902 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.618e-05/0.2368, allocations: 110.5 kB / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2369, allocations: 384 / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.2369, allocations: 384 / 1.194 GB, free: 5.77 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.237, allocations: 54.17 kB / 1.194 GB, free: 5.711 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.237, allocations: 3.938 kB / 1.194 GB, free: 5.707 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.237, allocations: 0 / 1.194 GB, free: 5.707 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.237, allocations: 0 / 1.194 GB, free: 5.707 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.586e-05/0.2371, allocations: 35.95 kB / 1.194 GB, free: 5.672 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.2374, allocations: 216.1 kB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.819e-05/0.2374, allocations: 42.44 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.2375, allocations: 32.83 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.2375, allocations: 0 / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.2375, allocations: 34.56 kB / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.2375, allocations: 0 / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002305/0.2378, allocations: 85.59 kB / 1.194 GB, free: 5.199 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.2378, allocations: 55.34 kB / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.666e-05/0.2379, allocations: 93.86 kB / 1.194 GB, free: 5.031 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.2379, allocations: 29.7 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.367e-05/0.2379, allocations: 92.19 kB / 1.195 GB, free: 4.902 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.2379, allocations: 7.953 kB / 1.195 GB, free: 4.895 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.2e-05/0.2379, allocations: 9.719 kB / 1.195 GB, free: 4.879 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.238, allocations: 318.8 kB / 1.195 GB, free: 4.559 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/0.2381, allocations: 15.92 kB / 1.195 GB, free: 4.543 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.387e-05/0.2381, allocations: 19.97 kB / 1.195 GB, free: 4.523 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.232e-05/0.2382, allocations: 40.89 kB / 1.195 GB, free: 4.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2382, allocations: 3.938 kB / 1.195 GB, free: 4.477 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.718e-05/0.2383, allocations: 65.66 kB / 1.195 GB, free: 4.406 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2383, allocations: 5.719 kB / 1.195 GB, free: 4.402 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2383, allocations: 0 / 1.195 GB, free: 4.402 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2383, allocations: 192 / 1.195 GB, free: 4.402 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.2384, allocations: 16.02 kB / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2384, allocations: 0 / 1.195 GB, free: 4.387 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.2384, allocations: 7.938 kB / 1.195 GB, free: 4.379 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.2384, allocations: 7.984 kB / 1.195 GB, free: 4.371 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 (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.094e-05/0.2384, allocations: 113.8 kB / 1.195 GB, free: 4.25 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.2385, allocations: 7.984 kB / 1.195 GB, free: 4.242 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.2386, allocations: 68.97 kB / 1.195 GB, free: 4.168 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2386, allocations: 0 / 1.195 GB, free: 4.168 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.2386, allocations: 0 / 1.195 GB, free: 4.168 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2386, allocations: 0 / 1.195 GB, free: 4.168 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.2387, allocations: 132.7 kB / 1.195 GB, free: 3.996 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2387, allocations: 0 / 1.195 GB, free: 3.996 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.2388, allocations: 11.98 kB / 1.195 GB, free: 3.984 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2388, allocations: 0 / 1.195 GB, free: 3.984 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2388, allocations: 4 kB / 1.195 GB, free: 3.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.2388, allocations: 3.938 kB / 1.195 GB, free: 3.977 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2388, allocations: 0 / 1.195 GB, free: 3.977 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.2389, allocations: 171.4 kB / 1.196 GB, free: 3.793 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.2389, allocations: 0 / 1.196 GB, free: 3.793 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.456e-06/0.2389, allocations: 0 / 1.196 GB, free: 3.793 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-05/0.2389, allocations: 11.98 kB / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.239, allocations: 0 / 1.196 GB, free: 3.781 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.239, allocations: 8.031 kB / 1.196 GB, free: 3.773 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.478e-05/0.239, allocations: 79.27 kB / 1.196 GB, free: 3.695 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.239, allocations: 0 / 1.196 GB, free: 3.695 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001366/0.2391, allocations: 4 kB / 1.196 GB, free: 3.691 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 (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.0003788/0.2395, allocations: 0.7006 MB / 1.196 GB, free: 2.961 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001186/0.2396, allocations: 35.95 kB / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2396, allocations: 0 / 1.196 GB, free: 2.926 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.2397, allocations: 19.98 kB / 1.196 GB, free: 2.906 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.2399, allocations: 0 / 1.196 GB, free: 2.906 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.2402, allocations: 151.8 kB / 1.197 GB, free: 2.719 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.2405, allocations: 0.6768 MB / 1.197 GB, free: 2.016 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.2405, allocations: 4 kB / 1.197 GB, free: 2.012 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.2405, allocations: 7.438 kB / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of SimCode: time 4.71e-07/0.2405, allocations: 0 / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.2547, allocations: 1.401 MB / 1.199 GB, free: 0.7344 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.205/6.46, allocations: 0 / 1.199 GB, free: 0.7344 MB / 0.823 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Cos.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.847427782602608] Failed to read output from testmodel.py, exit status != 0: 6.536227964796126 6.54464041 6.306508979 Calling exit ...