Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.0007717/0.0007717, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008571/0.0008571, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9458/0.9458, allocations: 230.6 MB / 256 MB, free: 9.582 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.03932/0.03932, allocations: 12.19 MB / 324.6 MB, free: 6.066 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.0004176/0.0004176, allocations: 19.97 kB / 384.1 MB, free: 10.5 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.626/1.626, allocations: 353.9 MB / 0.7787 GB, free: 4.504 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.Sources.Validation.CivilTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",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: 119.1 kB / 1.06 GB, free: 24.54 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2462, allocations: 134.9 MB / 1.192 GB, free: 7.328 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001399/0.2476, allocations: 0.5661 MB / 1.192 GB, free: 6.766 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 4.56e-05/0.2477, allocations: 4 kB / 1.192 GB, free: 6.762 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.2477, allocations: 0 / 1.192 GB, free: 6.762 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.2477, allocations: 3.984 kB / 1.192 GB, free: 6.758 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.813e-05/0.2478, allocations: 0 / 1.192 GB, free: 6.758 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.708e-05/0.2478, allocations: 4 kB / 1.192 GB, free: 6.754 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.548e-05/0.2479, allocations: 0 / 1.192 GB, free: 6.754 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.874e-05/0.2479, allocations: 0 / 1.192 GB, free: 6.754 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.755e-05/0.248, allocations: 3.938 kB / 1.192 GB, free: 6.75 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.182e-05/0.248, allocations: 8 kB / 1.192 GB, free: 6.742 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.248, allocations: 0 / 1.192 GB, free: 6.742 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.92e-06/0.248, allocations: 0 / 1.192 GB, free: 6.742 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.248, allocations: 0 / 1.192 GB, free: 6.742 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.248, allocations: 0 / 1.192 GB, free: 6.742 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.885e-05/0.2481, allocations: 3.938 kB / 1.192 GB, free: 6.738 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2481, allocations: 0 / 1.192 GB, free: 6.738 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.166e-06/0.2481, allocations: 0 / 1.192 GB, free: 6.738 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.2481, allocations: 0 / 1.192 GB, free: 6.738 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002525/0.2484, allocations: 240 kB / 1.193 GB, free: 6.473 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2484, allocations: 12.03 kB / 1.193 GB, free: 6.461 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.2484, allocations: 30.75 kB / 1.193 GB, free: 6.422 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.2485, allocations: 4.938 kB / 1.193 GB, free: 6.418 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.685e-05/0.2485, allocations: 106.8 kB / 1.193 GB, free: 6.289 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.2485, allocations: 384 / 1.193 GB, free: 6.289 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-06/0.2485, allocations: 4.375 kB / 1.193 GB, free: 6.285 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.942e-05/0.2486, allocations: 26.27 kB / 1.193 GB, free: 6.254 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2486, allocations: 3.938 kB / 1.193 GB, free: 6.25 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.2486, allocations: 0 / 1.193 GB, free: 6.25 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.2487, allocations: 0 / 1.193 GB, free: 6.25 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/0.2487, allocations: 19.91 kB / 1.193 GB, free: 6.23 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.2488, allocations: 116.8 kB / 1.193 GB, free: 6.074 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.661e-05/0.2488, allocations: 22.61 kB / 1.193 GB, free: 6.043 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.2489, allocations: 4.859 kB / 1.193 GB, free: 6.035 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-06/0.2489, allocations: 0 / 1.193 GB, free: 6.035 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2489, allocations: 38.62 kB / 1.193 GB, free: 5.988 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.2489, allocations: 0 / 1.193 GB, free: 5.988 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.249, allocations: 37.58 kB / 1.193 GB, free: 5.945 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.2491, allocations: 55.39 kB / 1.193 GB, free: 5.879 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.231e-05/0.2491, allocations: 89.86 kB / 1.193 GB, free: 5.781 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.679e-06/0.2491, allocations: 25.7 kB / 1.193 GB, free: 5.75 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.2491, allocations: 88.25 kB / 1.193 GB, free: 5.66 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.2492, allocations: 7.938 kB / 1.193 GB, free: 5.652 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/0.2492, allocations: 13.72 kB / 1.193 GB, free: 5.633 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.2493, allocations: 311.2 kB / 1.193 GB, free: 5.32 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.2493, allocations: 4 kB / 1.193 GB, free: 5.316 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-06/0.2493, allocations: 0 / 1.193 GB, free: 5.316 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.2493, allocations: 8.859 kB / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2493, allocations: 3.938 kB / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.146e-05/0.2493, allocations: 33.69 kB / 1.194 GB, free: 5.262 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2494, allocations: 10.12 kB / 1.194 GB, free: 5.254 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2494, allocations: 7.875 kB / 1.194 GB, free: 5.246 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2494, allocations: 0 / 1.194 GB, free: 5.246 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.668e-05/0.2494, allocations: 4 kB / 1.194 GB, free: 5.242 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2495, allocations: 3.984 kB / 1.194 GB, free: 5.238 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-06/0.2495, allocations: 4 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.2495, allocations: 0 / 1.194 GB, free: 5.234 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 5.164e-05/0.2495, allocations: 109.8 kB / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-06/0.2495, allocations: 0 / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.661e-05/0.2495, allocations: 6.938 kB / 1.194 GB, free: 5.113 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.41e-07/0.2495, allocations: 0 / 1.194 GB, free: 5.113 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2495, allocations: 4 kB / 1.194 GB, free: 5.109 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2495, allocations: 0 / 1.194 GB, free: 5.109 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.677e-05/0.2496, allocations: 120.8 kB / 1.194 GB, free: 4.949 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-07/0.2496, allocations: 0 / 1.194 GB, free: 4.949 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-06/0.2496, allocations: 3.938 kB / 1.194 GB, free: 4.945 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.91e-07/0.2496, allocations: 0 / 1.194 GB, free: 4.945 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.2496, allocations: 3.938 kB / 1.194 GB, free: 4.941 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2496, allocations: 3.938 kB / 1.194 GB, free: 4.938 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2496, allocations: 4 kB / 1.194 GB, free: 4.934 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.301e-05/0.2497, allocations: 57.12 kB / 1.194 GB, free: 4.859 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-06/0.2497, allocations: 12.03 kB / 1.194 GB, free: 4.848 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.2497, allocations: 3.938 kB / 1.194 GB, free: 4.844 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-06/0.2497, allocations: 0 / 1.194 GB, free: 4.844 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.2497, allocations: 0 / 1.194 GB, free: 4.844 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.2497, allocations: 4 kB / 1.194 GB, free: 4.84 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.085e-05/0.2497, allocations: 79.28 kB / 1.194 GB, free: 4.762 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2497, allocations: 0 / 1.194 GB, free: 4.762 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001102/0.2498, allocations: 4 kB / 1.194 GB, free: 4.758 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 (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 Backend phase and start with SimCode phase: time 0.0002525/0.2501, allocations: 0.6046 MB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.587e-05/0.2501, allocations: 4 kB / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2501, allocations: 0 / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.2501, allocations: 0 / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.748e-05/0.2502, allocations: 4 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002981/0.2505, allocations: 115.2 kB / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.669e-05/0.2506, allocations: 55.36 kB / 1.195 GB, free: 3.883 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.227e-05/0.2506, allocations: 0 / 1.195 GB, free: 3.883 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.151e-05/0.2506, allocations: 11.38 kB / 1.195 GB, free: 3.871 MB / 0.823 GB Notification: Performance of SimCode: time 4.51e-07/0.2506, allocations: 0 / 1.195 GB, free: 3.871 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.2651, allocations: 1.405 MB / 1.196 GB, free: 2.59 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.5/6.765, allocations: 15.94 kB / 1.196 GB, free: 2.578 MB / 0.823 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.021633890457451] Failed to read output from testmodel.py, exit status != 0: 6.839736219495535 6.848882296 6.598872935 Calling exit ...