Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.0008662/0.0008662, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008887/0.0008887, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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.9277/0.9277, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7035/0.7035, allocations: 154.6 MB / 413.7 MB, free: 0.7891 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.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(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.6181 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295e-05/1.477e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.00102/0.001034, allocations: 0.5715 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 4.039e-05/0.001075, allocations: 7.938 kB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.001091, allocations: 4 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.001118, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.516e-05/0.001143, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 2.922e-05/0.001172, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.788e-05/0.00123, allocations: 4 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.001277, allocations: 3.984 kB / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.001313, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.747e-05/0.00133, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.001348, allocations: 0 / 0.6187 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.707e-06/0.001352, allocations: 4 kB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.001364, allocations: 3.938 kB / 0.6187 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.001383, allocations: 4 kB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.161e-05/0.001445, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.684e-06/0.001446, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.91e-07/0.001447, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.001451, allocations: 0 / 0.6187 GB, free: 13 MB / 0.5886 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.0002144/0.001665, allocations: 238.5 kB / 0.619 GB, free: 12.74 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.001704, allocations: 12.03 kB / 0.619 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.00173, allocations: 30.75 kB / 0.619 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.89e-05/0.001749, allocations: 0.9375 kB / 0.619 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.074e-05/0.0018, allocations: 101.8 kB / 0.6191 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.001809, allocations: 4.312 kB / 0.6191 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-06/0.001815, allocations: 4.375 kB / 0.6191 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.448e-05/0.00189, allocations: 30.27 kB / 0.6191 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.001896, allocations: 192 / 0.6191 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.001904, allocations: 4.375 kB / 0.6191 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.00191, allocations: 4.125 kB / 0.6191 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.001926, allocations: 4 kB / 0.6191 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.455e-05/0.002021, allocations: 116.8 kB / 0.6193 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.408e-05/0.002055, allocations: 18.61 kB / 0.6193 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.002072, allocations: 12.8 kB / 0.6193 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.614e-06/0.002079, allocations: 4 kB / 0.6193 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.002098, allocations: 38.56 kB / 0.6193 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 6.81e-07/0.002099, allocations: 0 / 0.6193 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 9.659e-05/0.002195, allocations: 29.7 kB / 0.6194 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.002222, allocations: 55.34 kB / 0.6194 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.186e-05/0.002244, allocations: 89.86 kB / 0.6195 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.002252, allocations: 25.7 kB / 0.6195 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.877e-05/0.002271, allocations: 88.11 kB / 0.6196 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.002292, allocations: 0 / 0.6196 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.002312, allocations: 17.72 kB / 0.6196 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.002382, allocations: 315 kB / 0.6199 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-06/0.002389, allocations: 7.875 kB / 0.6199 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-06/0.002394, allocations: 4 kB / 0.6199 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.002413, allocations: 4.859 kB / 0.6199 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.002415, allocations: 4 kB / 0.6199 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.891e-05/0.002444, allocations: 33.69 kB / 0.62 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.002455, allocations: 4 kB / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.002459, allocations: 0 / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.002471, allocations: 3.984 kB / 0.62 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.813e-05/0.002519, allocations: 4.094 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.002524, allocations: 7.938 kB / 0.62 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-06/0.002531, allocations: 4 kB / 0.62 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.002535, allocations: 3.938 kB / 0.62 GB, free: 11.51 MB / 0.5886 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.377e-05/0.002579, allocations: 110.8 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-06/0.002581, allocations: 0 / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.332e-05/0.002594, allocations: 6.953 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.002596, allocations: 0 / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.0026, allocations: 3.938 kB / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.002602, allocations: 0 / 0.6201 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.586e-05/0.002648, allocations: 116.8 kB / 0.6202 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.002649, allocations: 8 kB / 0.6202 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-06/0.002654, allocations: 4 kB / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.002654, allocations: 0 / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.002659, allocations: 0 / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.002659, allocations: 0 / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.002661, allocations: 3.938 kB / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.752e-05/0.002698, allocations: 57.14 kB / 0.6203 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.002705, allocations: 7.938 kB / 0.6203 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.002713, allocations: 4 kB / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.336e-06/0.002716, allocations: 0 / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.002727, allocations: 11.91 kB / 0.6203 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.51e-07/0.002728, allocations: 3.938 kB / 0.6203 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.808e-05/0.002746, allocations: 75.28 kB / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.002746, allocations: 0 / 0.6204 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001108/0.002857, allocations: 0 / 0.6204 GB, free: 11.04 MB / 0.5886 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.0002031/0.00306, allocations: 0.5929 MB / 0.621 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.916e-05/0.003119, allocations: 4 kB / 0.621 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.003121, allocations: 3.938 kB / 0.621 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.003124, allocations: 8.031 kB / 0.621 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.809e-05/0.003222, allocations: 9.969 kB / 0.621 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.003488, allocations: 106.7 kB / 0.6211 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.951e-05/0.003518, allocations: 51.36 kB / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.023e-05/0.003528, allocations: 0 / 0.6212 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.939e-05/0.003547, allocations: 12.5 kB / 0.6212 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of SimCode: time 4.2e-07/0.003548, allocations: 0 / 0.6212 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0124/0.01595, allocations: 1.531 MB / 0.6227 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.551/6.567, allocations: 17.44 kB / 0.6227 GB, free: 8.75 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.185762220993638] Failed to read output from testmodel.py, exit status != 0: 6.6468403320759535 6.656800097 6.653422276 Calling exit ...