Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.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.001054/0.001054, 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.001104/0.001104, allocations: 217.7 kB / 22.25 MB, free: 3.699 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.9657/0.9657, allocations: 230.6 MB / 256 MB, free: 9.793 MB / 202.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.7904/0.7904, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [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.Validation.Switch,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00101/0.00101, allocations: 68.39 kB / 0.7183 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.553/0.554, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001507/0.5555, allocations: 0.779 MB / 0.8187 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.5565, allocations: 1.202 MB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.092e-05/0.5565, allocations: 5.094 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.5566, allocations: 3.938 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.278e-05/0.5566, allocations: 12.19 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.557, allocations: 135.6 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.5572, allocations: 131.8 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.5573, allocations: 11.17 kB / 0.8201 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.5574, allocations: 56.02 kB / 0.8202 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.349e-05/0.5575, allocations: 54.41 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.5575, allocations: 11.56 kB / 0.8202 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.975e-05/0.5576, allocations: 25.25 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.5576, allocations: 9.406 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.5577, allocations: 55.05 kB / 0.8203 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.5578, allocations: 121.3 kB / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.5578, allocations: 0 / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5578, allocations: 4.594 kB / 0.8204 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5578, allocations: 0.6562 kB / 0.8204 GB, free: 15.58 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005176/0.5584, allocations: 350.5 kB / 0.8208 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.5584, allocations: 13.06 kB / 0.8208 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.5584, allocations: 31.97 kB / 0.8208 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.5585, allocations: 15.2 kB / 0.8208 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.383e-05/0.5585, allocations: 120.7 kB / 0.821 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.5586, allocations: 11.61 kB / 0.821 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.5586, allocations: 4.062 kB / 0.821 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.5588, allocations: 78.16 kB / 0.821 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5588, allocations: 3.938 kB / 0.821 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.5588, allocations: 0.5625 kB / 0.821 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5588, allocations: 0 / 0.821 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.5589, allocations: 74.19 kB / 0.8211 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.5593, allocations: 303.7 kB / 0.8214 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.5594, allocations: 49.97 kB / 0.8215 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.491e-05/0.5595, allocations: 46.88 kB / 0.8215 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.5595, allocations: 0.9375 kB / 0.8215 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001831/0.5597, allocations: 91.06 kB / 0.8216 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.5597, allocations: 0 / 0.8216 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003597/0.5601, allocations: 169.2 kB / 0.8217 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.5601, allocations: 55.86 kB / 0.8218 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.159e-05/0.5602, allocations: 121.5 kB / 0.8219 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.5602, allocations: 31.14 kB / 0.8219 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.424e-05/0.5603, allocations: 94.64 kB / 0.822 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.5603, allocations: 27.84 kB / 0.8221 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.5603, allocations: 28.55 kB / 0.8221 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.417e-05/0.5604, allocations: 326.2 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.5605, allocations: 56.08 kB / 0.8225 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.5606, allocations: 84.33 kB / 0.8225 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.5608, allocations: 137.5 kB / 0.8227 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5608, allocations: 0.9688 kB / 0.8227 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003223/0.5612, allocations: 224.1 kB / 0.8229 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.5612, allocations: 43.7 kB / 0.8229 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5612, allocations: 0 / 0.8229 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.5612, allocations: 3.938 kB / 0.8229 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.5613, allocations: 17.08 kB / 0.8229 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.5613, allocations: 7.578 kB / 0.823 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.5614, allocations: 37.27 kB / 0.823 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.5614, allocations: 10.78 kB / 0.823 GB, free: 13.62 MB / 0.6198 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 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.247e-05/0.5615, allocations: 121.6 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.5615, allocations: 7.453 kB / 0.8231 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.5615, allocations: 13.31 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5615, allocations: 1.438 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5615, allocations: 0 / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5615, allocations: 7.984 kB / 0.8231 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.462e-05/0.5616, allocations: 150.2 kB / 0.8233 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.5616, allocations: 320 / 0.8233 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.5617, allocations: 24.14 kB / 0.8233 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.5617, allocations: 1.469 kB / 0.8233 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.5617, allocations: 0 / 0.8233 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.5617, allocations: 1.531 kB / 0.8233 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.5617, allocations: 3.141 kB / 0.8233 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.5619, allocations: 153.2 kB / 0.8235 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.418e-06/0.5619, allocations: 13.77 kB / 0.8235 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.5619, allocations: 4 kB / 0.8235 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.562, allocations: 10.92 kB / 0.8235 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/0.562, allocations: 5.578 kB / 0.8235 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.562, allocations: 6.469 kB / 0.8235 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.062e-05/0.562, allocations: 100.2 kB / 0.8236 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.562, allocations: 3.938 kB / 0.8236 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001491/0.5622, allocations: 20.73 kB / 0.8236 GB, free: 13.11 MB / 0.6198 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 (6): * Single equations (assignments): 5 * 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.0004256/0.5626, allocations: 0.693 MB / 0.8243 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002992/0.5629, allocations: 168.8 kB / 0.8245 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5629, allocations: 0 / 0.8245 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/0.563, allocations: 53.92 kB / 0.8245 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.5632, allocations: 13.83 kB / 0.8245 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.5648, allocations: 1.642 MB / 0.8261 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.565, allocations: 0.6898 MB / 0.8268 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.627e-05/0.5651, allocations: 9.734 kB / 0.8268 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.5651, allocations: 20.05 kB / 0.8268 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.5651, allocations: 0 / 0.8268 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.5806, allocations: 2.813 MB / 0.8296 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.367/6.947, allocations: 9.141 kB / 0.8296 GB, free: 9.809 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IDEAS_dev_IDEAS_Controls_OBC_CDL_Reals_Validation_Switch.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.985609570983797] Failed to read output from testmodel.py, exit status != 0: 7.026135931024328 7.037274908 6.477489498 Calling exit ...