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.0008191/0.0008191, 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.0009118/0.0009118, allocations: 218.3 kB / 22.26 MB, free: 3.703 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.9221/0.9221, allocations: 230.6 MB / 256 MB, free: 9.816 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.0375/0.0375, allocations: 12.18 MB / 324.6 MB, free: 6.363 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.0004427/0.0004427, allocations: 27.94 kB / 384.1 MB, free: 10.77 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.747/1.747, allocations: 353.8 MB / 0.7787 GB, free: 3.16 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.001597/0.001597, allocations: 115.5 kB / 1.06 GB, free: 25.08 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2356, allocations: 134.9 MB / 1.192 GB, free: 7.883 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001571/0.2372, allocations: 0.5686 MB / 1.192 GB, free: 7.316 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 7.919e-05/0.2373, allocations: 0 / 1.192 GB, free: 7.316 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.359e-05/0.2373, allocations: 4 kB / 1.192 GB, free: 7.312 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.02e-05/0.2373, allocations: 0 / 1.192 GB, free: 7.312 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.412e-05/0.2373, allocations: 0 / 1.192 GB, free: 7.312 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 3.628e-05/0.2374, allocations: 0 / 1.192 GB, free: 7.312 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.63e-05/0.2374, allocations: 3.938 kB / 1.192 GB, free: 7.309 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/0.2375, allocations: 0 / 1.192 GB, free: 7.309 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.2375, allocations: 8 kB / 1.192 GB, free: 7.301 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.382e-05/0.2375, allocations: 3.938 kB / 1.192 GB, free: 7.297 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.2376, allocations: 0 / 1.192 GB, free: 7.297 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.2376, allocations: 4 kB / 1.192 GB, free: 7.293 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.2376, allocations: 0 / 1.192 GB, free: 7.293 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.2376, allocations: 0 / 1.192 GB, free: 7.293 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.427e-05/0.2377, allocations: 7.969 kB / 1.192 GB, free: 7.285 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2377, allocations: 3.938 kB / 1.192 GB, free: 7.281 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.138e-06/0.2377, allocations: 4 kB / 1.192 GB, free: 7.277 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2377, allocations: 0 / 1.192 GB, free: 7.277 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.0002896/0.238, allocations: 226.5 kB / 1.193 GB, free: 7.023 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.606e-05/0.2381, allocations: 12.06 kB / 1.193 GB, free: 7.012 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.2381, allocations: 34.75 kB / 1.193 GB, free: 6.969 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.2381, allocations: 4.938 kB / 1.193 GB, free: 6.965 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.89e-05/0.2382, allocations: 102.8 kB / 1.193 GB, free: 6.84 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.2382, allocations: 384 / 1.193 GB, free: 6.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.2382, allocations: 8.359 kB / 1.193 GB, free: 6.832 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.374e-05/0.2383, allocations: 30.25 kB / 1.193 GB, free: 6.797 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2383, allocations: 7.875 kB / 1.193 GB, free: 6.789 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.2383, allocations: 0 / 1.193 GB, free: 6.789 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.2383, allocations: 0 / 1.193 GB, free: 6.789 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.76e-05/0.2383, allocations: 4 kB / 1.193 GB, free: 6.785 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.2384, allocations: 120.8 kB / 1.193 GB, free: 6.625 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.623e-05/0.2385, allocations: 14.58 kB / 1.193 GB, free: 6.602 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.2385, allocations: 8.953 kB / 1.193 GB, free: 6.59 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.2385, allocations: 3.938 kB / 1.193 GB, free: 6.586 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2385, allocations: 34.55 kB / 1.193 GB, free: 6.543 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.2385, allocations: 0 / 1.193 GB, free: 6.543 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001212/0.2386, allocations: 49.58 kB / 1.193 GB, free: 6.488 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.2387, allocations: 51.41 kB / 1.193 GB, free: 6.426 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.151e-05/0.2387, allocations: 89.86 kB / 1.193 GB, free: 6.328 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.2387, allocations: 25.7 kB / 1.193 GB, free: 6.297 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.2388, allocations: 80.14 kB / 1.193 GB, free: 6.215 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.975e-05/0.2388, allocations: 3.938 kB / 1.193 GB, free: 6.211 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.2389, allocations: 13.72 kB / 1.193 GB, free: 6.191 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.2389, allocations: 311.4 kB / 1.194 GB, free: 5.879 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-06/0.2389, allocations: 4 kB / 1.194 GB, free: 5.875 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.2389, allocations: 3.984 kB / 1.194 GB, free: 5.871 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.617e-05/0.239, allocations: 16.8 kB / 1.194 GB, free: 5.852 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.239, allocations: 0 / 1.194 GB, free: 5.852 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.334e-05/0.239, allocations: 29.7 kB / 1.194 GB, free: 5.816 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.239, allocations: 8 kB / 1.194 GB, free: 5.809 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.239, allocations: 3.938 kB / 1.194 GB, free: 5.805 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.239, allocations: 0 / 1.194 GB, free: 5.805 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.555e-05/0.2391, allocations: 4.094 kB / 1.194 GB, free: 5.801 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.2391, allocations: 0 / 1.194 GB, free: 5.801 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-06/0.2391, allocations: 0 / 1.194 GB, free: 5.801 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.2391, allocations: 4 kB / 1.194 GB, free: 5.797 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 4.874e-05/0.2392, allocations: 105.8 kB / 1.194 GB, free: 5.684 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-06/0.2392, allocations: 11.92 kB / 1.194 GB, free: 5.672 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.429e-05/0.2392, allocations: 6.938 kB / 1.194 GB, free: 5.668 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2392, allocations: 0 / 1.194 GB, free: 5.668 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2392, allocations: 0 / 1.194 GB, free: 5.668 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2392, allocations: 8 kB / 1.194 GB, free: 5.66 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.288e-05/0.2392, allocations: 112.8 kB / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.4e-07/0.2392, allocations: 0 / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-06/0.2392, allocations: 0 / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2392, allocations: 3.938 kB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.2392, allocations: 15.92 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.2392, allocations: 0 / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2392, allocations: 0 / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.179e-05/0.2393, allocations: 61.08 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-06/0.2393, allocations: 8 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-06/0.2393, allocations: 3.938 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.216e-06/0.2393, allocations: 0 / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.2393, allocations: 3.984 kB / 1.194 GB, free: 5.395 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.22e-07/0.2393, allocations: 0 / 1.194 GB, free: 5.395 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.017e-05/0.2393, allocations: 79.28 kB / 1.194 GB, free: 5.316 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.2393, allocations: 0 / 1.194 GB, free: 5.316 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001064/0.2394, allocations: 4 kB / 1.194 GB, free: 5.312 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.0005545/0.24, allocations: 0.5967 MB / 1.195 GB, free: 4.684 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 6.024e-05/0.2401, allocations: 4 kB / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2401, allocations: 0 / 1.195 GB, free: 4.68 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.619e-06/0.2401, allocations: 8 kB / 1.195 GB, free: 4.672 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.473e-05/0.2402, allocations: 6.031 kB / 1.195 GB, free: 4.668 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.2405, allocations: 111.2 kB / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.2407, allocations: 0.6729 MB / 1.195 GB, free: 3.816 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.139e-05/0.2407, allocations: 0 / 1.195 GB, free: 3.816 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.2407, allocations: 7.438 kB / 1.195 GB, free: 3.809 MB / 0.823 GB Notification: Performance of SimCode: time 3.8e-07/0.2407, allocations: 0 / 1.195 GB, free: 3.809 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.2545, allocations: 1.013 MB / 1.196 GB, free: 2.922 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.077/6.332, allocations: 11.28 kB / 1.196 GB, free: 2.914 MB / 0.823 GB " [Timeout remaining time 654] (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: 10.673029805533588] Failed to read output from testmodel.py, exit status != 0: 6.4050585720688105 6.414522922 6.174978365 Calling exit ...