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.0008584/0.0008584, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.0008631/0.0008631, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9386/0.9386, allocations: 177.1 MB / 202.8 MB, free: 5.707 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.7335/0.7335, allocations: 154.5 MB / 413.7 MB, free: 0.8086 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.685e-06/2.685e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.598e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.00194/0.001966, allocations: 0.5762 MB / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 6.008e-05/0.002026, allocations: 4 kB / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.002052, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.107e-05/0.002093, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.00213, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 4.26e-05/0.002173, allocations: 0 / 0.6186 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.905e-05/0.002262, allocations: 4 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.687e-05/0.002328, allocations: 4 kB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.71e-05/0.002376, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.613e-05/0.002402, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.002432, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.24e-06/0.002437, allocations: 0 / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.002453, allocations: 4 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.002481, allocations: 3.984 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.585e-05/0.002557, allocations: 3.984 kB / 0.6187 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.002561, allocations: 4 kB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.924e-06/0.002563, allocations: 3.938 kB / 0.6187 GB, free: 13.08 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.002568, allocations: 0 / 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.0003136/0.002881, allocations: 234.5 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/0.002941, allocations: 9.469 kB / 0.6189 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.002989, allocations: 34.75 kB / 0.6189 GB, free: 12.77 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.003018, allocations: 4.875 kB / 0.6189 GB, free: 12.76 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.614e-05/0.003114, allocations: 105.8 kB / 0.619 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.003128, allocations: 384 / 0.619 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.177e-06/0.003138, allocations: 384 / 0.619 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.00325, allocations: 34.27 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.00326, allocations: 192 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.00327, allocations: 384 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.003277, allocations: 8.125 kB / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.875e-05/0.003296, allocations: 0 / 0.6191 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.003444, allocations: 116.8 kB / 0.6192 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.382e-05/0.003487, allocations: 18.52 kB / 0.6192 GB, free: 12.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/0.003513, allocations: 12.94 kB / 0.6192 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.003523, allocations: 0 / 0.6192 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.003548, allocations: 34.56 kB / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.003548, allocations: 4 kB / 0.6193 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.003681, allocations: 33.64 kB / 0.6193 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.003717, allocations: 59.47 kB / 0.6194 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.435e-05/0.003752, allocations: 89.86 kB / 0.6194 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.003763, allocations: 29.64 kB / 0.6195 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.003791, allocations: 80.14 kB / 0.6195 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.00382, allocations: 0 / 0.6195 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.003855, allocations: 17.72 kB / 0.6196 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.003955, allocations: 314.8 kB / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/0.003964, allocations: 0 / 0.6199 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.003971, allocations: 4 kB / 0.6199 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.435e-05/0.003996, allocations: 4.859 kB / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.003998, allocations: 4.062 kB / 0.6199 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.385e-05/0.004051, allocations: 41.64 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.004067, allocations: 6.656 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.004073, allocations: 0 / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.004085, allocations: 0 / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.004147, allocations: 4 kB / 0.6199 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.371e-06/0.004153, allocations: 3.938 kB / 0.6199 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.178e-06/0.004162, allocations: 0 / 0.6199 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.004167, 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 6.968e-05/0.004236, allocations: 110.8 kB / 0.62 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.004243, allocations: 15.95 kB / 0.62 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.494e-05/0.004258, allocations: 3 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.00426, allocations: 0 / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.004265, allocations: 3.938 kB / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.004268, allocations: 0 / 0.6201 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.837e-05/0.004336, allocations: 112.8 kB / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.004338, allocations: 0 / 0.6202 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-06/0.004347, allocations: 8 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.00435, allocations: 3.984 kB / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.004356, allocations: 0 / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.004357, allocations: 0 / 0.6202 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.00436, allocations: 7.938 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.906e-05/0.004419, allocations: 61.08 kB / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.004425, allocations: 3.953 kB / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.004436, allocations: 0 / 0.6202 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.182e-06/0.004442, allocations: 4 kB / 0.6202 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.004456, allocations: 7.922 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.004458, allocations: 0 / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.671e-05/0.004485, allocations: 75.28 kB / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.004485, allocations: 0 / 0.6203 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001947/0.00468, allocations: 0 / 0.6203 GB, free: 11.12 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.0003117/0.004991, allocations: 0.5968 MB / 0.6209 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.171e-05/0.005073, allocations: 7.938 kB / 0.6209 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.005075, allocations: 0 / 0.6209 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.005079, allocations: 3.938 kB / 0.6209 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.005246, allocations: 14.02 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.0003729/0.005619, allocations: 102.7 kB / 0.621 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/0.005661, allocations: 55.34 kB / 0.6211 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.254e-05/0.005674, allocations: 4.156 kB / 0.6211 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.005698, allocations: 8.5 kB / 0.6211 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/0.005699, allocations: 4 kB / 0.6211 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.02133, allocations: 1.531 MB / 0.6226 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.762/6.784, allocations: 9.703 kB / 0.6226 GB, free: 8.84 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.591002091765404] Failed to read output from testmodel.py, exit status != 0: 6.865131669677794 6.873634619 6.86927295 Calling exit ...