Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007868/0.0007868, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008232/0.0008232, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9211/0.9211, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7301/0.7301, allocations: 154.5 MB / 413.7 MB, free: 0.8477 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.776e-06/2.776e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.313e-05, allocations: 3.375 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.001186/0.001209, allocations: 0.5751 MB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 4.024e-05/0.001249, allocations: 3.938 kB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.631e-05/0.001265, allocations: 0 / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.001293, allocations: 0 / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.76e-05/0.00132, allocations: 0 / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.085e-05/0.001351, allocations: 0 / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.001413, allocations: 15.98 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.001468, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.001505, allocations: 3.984 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.118e-05/0.001526, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.001546, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.041e-06/0.001552, allocations: 4 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.22e-05/0.001564, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.875e-05/0.001583, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 6.106e-05/0.001644, allocations: 3.938 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.001646, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.132e-06/0.001647, allocations: 0 / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.001652, allocations: 4 kB / 0.6187 GB, free: 13.08 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.0002366/0.001889, allocations: 238.5 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.001933, allocations: 13.47 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.001962, allocations: 30.75 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.002e-05/0.001982, allocations: 0.9375 kB / 0.619 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.731e-05/0.002039, allocations: 105.7 kB / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.00205, allocations: 384 / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.002057, allocations: 384 / 0.6191 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.484e-05/0.002142, allocations: 30.27 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.002149, allocations: 192 / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.002157, allocations: 4.375 kB / 0.6191 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.002163, allocations: 4.125 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.616e-05/0.002179, allocations: 0 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.002284, allocations: 124.8 kB / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.902e-05/0.002323, allocations: 18.52 kB / 0.6192 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.015e-05/0.002343, allocations: 8.953 kB / 0.6192 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.426e-06/0.002351, allocations: 0 / 0.6192 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.002371, allocations: 34.5 kB / 0.6193 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.002372, allocations: 4 kB / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001261/0.002498, allocations: 37.7 kB / 0.6193 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.00253, allocations: 55.34 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.719e-05/0.002558, allocations: 93.84 kB / 0.6195 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.002566, allocations: 25.7 kB / 0.6195 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.002587, allocations: 80.14 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.002613, allocations: 3.938 kB / 0.6196 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.002635, allocations: 13.72 kB / 0.6196 GB, free: 12 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.002705, allocations: 314.8 kB / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.002715, allocations: 0 / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-06/0.002722, allocations: 8 kB / 0.6199 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.067e-05/0.002742, allocations: 9.047 kB / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.002744, allocations: 0 / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.401e-05/0.002778, allocations: 33.7 kB / 0.6199 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.002791, allocations: 4 kB / 0.6199 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.002796, allocations: 7.922 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.002808, allocations: 0 / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.241e-05/0.00286, allocations: 4 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.002866, allocations: 3.938 kB / 0.6199 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.173e-06/0.002873, allocations: 3.938 kB / 0.6199 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-06/0.002877, allocations: 0 / 0.6199 GB, free: 11.6 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.723e-05/0.002924, allocations: 110.9 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-06/0.002928, allocations: 8 kB / 0.6201 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.002945, allocations: 3 kB / 0.6201 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.002947, allocations: 0 / 0.6201 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.002951, allocations: 3.938 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.002953, allocations: 0 / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.071e-05/0.003004, allocations: 116.8 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.003006, allocations: 8 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.949e-06/0.003011, allocations: 0 / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.003012, allocations: 0 / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.06e-06/0.003017, allocations: 0 / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.003018, allocations: 4 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.003019, allocations: 3.938 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.684e-05/0.003066, allocations: 65.08 kB / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-06/0.00307, allocations: 0 / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-06/0.003079, allocations: 4 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-06/0.003082, allocations: 0 / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.165e-05/0.003094, allocations: 11.86 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.92e-07/0.003095, allocations: 0 / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.837e-05/0.003113, allocations: 75.28 kB / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.003113, allocations: 3.938 kB / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001075/0.003221, allocations: 4.031 kB / 0.6203 GB, free: 11.11 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.0004601/0.003681, allocations: 0.5891 MB / 0.6209 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.956e-05/0.00374, allocations: 4 kB / 0.6209 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.003741, allocations: 3.938 kB / 0.6209 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.003744, allocations: 0 / 0.6209 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.844e-05/0.003842, allocations: 9.797 kB / 0.6209 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.004107, allocations: 118 kB / 0.621 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.929e-05/0.004137, allocations: 55.52 kB / 0.6211 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.086e-05/0.004148, allocations: 0 / 0.6211 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.004167, allocations: 16.44 kB / 0.6211 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of SimCode: time 5.92e-07/0.004168, allocations: 0 / 0.6211 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01576/0.01993, allocations: 1.528 MB / 0.6226 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/6.922, allocations: 10.19 kB / 0.6226 GB, free: 8.832 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.575349133461714] Failed to read output from testmodel.py, exit status != 0: 7.002930627204478 7.012389575 7.009019469 Calling exit ...