Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.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.0008478/0.0008478, 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.001323/0.001323, 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.8951/0.8951, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7357/0.7357, allocations: 154.5 MB / 413.7 MB, free: 0.8633 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.Utilities.Validation.Assert,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.618 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.182e-05/2.462e-05, allocations: 5.891 kB / 0.618 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001708/0.001733, allocations: 0.583 MB / 0.6186 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.003117, allocations: 1.139 MB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.003156, allocations: 0 / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.797e-05/0.003184, allocations: 3.938 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.327e-05/0.003247, allocations: 0 / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.003654, allocations: 126.8 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.003781, allocations: 87.81 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.513e-05/0.003866, allocations: 7.984 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.004069, allocations: 47.97 kB / 0.62 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.032e-05/0.004149, allocations: 27.89 kB / 0.62 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.004169, allocations: 8 kB / 0.62 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.165e-05/0.004231, allocations: 23.98 kB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.004247, allocations: 0 / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.004292, allocations: 23.98 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.004438, allocations: 107.6 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.00444, allocations: 0 / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.343e-06/0.004442, allocations: 0 / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.004445, allocations: 0 / 0.6201 GB, free: 11.62 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003722/0.004818, allocations: 300 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.004863, allocations: 17.47 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.859e-05/0.004891, allocations: 30.75 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.004927, allocations: 4.938 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.132e-05/0.004998, allocations: 109.8 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.00501, allocations: 384 / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.005024, allocations: 4.375 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.116e-05/0.005115, allocations: 67.95 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.005121, allocations: 192 / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.005129, allocations: 384 / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.005134, allocations: 4.125 kB / 0.6207 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.01e-05/0.005154, allocations: 15.94 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.005456, allocations: 236 kB / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.203e-05/0.005498, allocations: 22.58 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.005513, allocations: 16.84 kB / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.00552, allocations: 0 / 0.6209 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.005665, allocations: 92.97 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.005666, allocations: 0 / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001591/0.005825, allocations: 57.69 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.005863, allocations: 55.41 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.006297, allocations: 109.8 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.006314, allocations: 33.7 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.006354, allocations: 88.09 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.006361, allocations: 0 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.006405, allocations: 29.7 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.006489, allocations: 326.8 kB / 0.6217 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.13e-05/0.006551, allocations: 57.69 kB / 0.6217 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.515e-05/0.006616, allocations: 84.12 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.138e-05/0.006687, allocations: 76.28 kB / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006689, allocations: 0 / 0.6219 GB, free: 9.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001753/0.006865, allocations: 189.1 kB / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.006894, allocations: 33.7 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.006899, allocations: 0 / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.006912, allocations: 3.984 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.766e-05/0.00693, allocations: 11.92 kB / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.006935, allocations: 320 / 0.6221 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.007067, allocations: 23.97 kB / 0.6221 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.007091, allocations: 12 kB / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.809e-05/0.007169, allocations: 114.9 kB / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.00718, allocations: 7.938 kB / 0.6223 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.007207, allocations: 11.98 kB / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.007209, allocations: 0 / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.007216, allocations: 0 / 0.6223 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.007221, allocations: 4 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.02e-05/0.007311, allocations: 128.7 kB / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007312, allocations: 0 / 0.6224 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-06/0.007316, allocations: 3.938 kB / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.007317, allocations: 0 / 0.6224 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.007324, allocations: 4 kB / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.007325, allocations: 4 kB / 0.6224 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007326, allocations: 0 / 0.6224 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.399e-05/0.00741, allocations: 89 kB / 0.6225 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.007417, allocations: 3.938 kB / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.007428, allocations: 0 / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-06/0.007437, allocations: 4 kB / 0.6225 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.007464, allocations: 0 / 0.6225 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.007469, allocations: 3.938 kB / 0.6225 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.007506, allocations: 91.27 kB / 0.6226 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007506, allocations: 0 / 0.6226 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001532/0.00766, allocations: 12 kB / 0.6226 GB, free: 8.727 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002895/0.007949, allocations: 0.6202 MB / 0.6232 GB, free: 8.074 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.008134, allocations: 141 kB / 0.6234 GB, free: 7.918 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.008136, allocations: 3.938 kB / 0.6234 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.008157, allocations: 11.98 kB / 0.6234 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.008322, allocations: 9.719 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000955/0.009277, allocations: 1.477 MB / 0.6248 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.009311, allocations: 63.34 kB / 0.6249 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.974e-05/0.009331, allocations: 4 kB / 0.6249 GB, free: 6.203 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.009357, allocations: 12.48 kB / 0.6249 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/0.009358, allocations: 4 kB / 0.6249 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.02545, allocations: 2.733 MB / 0.6276 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.009, allocations: 0 / 0.6276 GB, free: 3.637 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.873232274316251] Failed to read output from testmodel.py, exit status != 0: 7.090740024112165 7.107499979 7.099731976 Calling exit ...