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.0007922/0.0007922, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009156/0.0009156, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9219/0.9219, allocations: 230.6 MB / 256 MB, free: 9.641 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.8148/0.8148, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.000889/0.000889, allocations: 62.16 kB / 0.7182 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4968, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001548/0.4984, allocations: 0.7757 MB / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.4996, allocations: 1.171 MB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.4997, allocations: 0 / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.42e-05/0.4997, allocations: 4.547 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.066e-05/0.4998, allocations: 14.83 kB / 0.8198 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004901/0.5003, allocations: 134.4 kB / 0.8199 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.5005, allocations: 130.7 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.5006, allocations: 15.55 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.82e-05/0.5007, allocations: 54.16 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.5008, allocations: 43.25 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.5008, allocations: 11.91 kB / 0.8201 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.278e-05/0.5009, allocations: 23.67 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.5009, allocations: 9.641 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.845e-05/0.501, allocations: 50.77 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.5012, allocations: 123.3 kB / 0.8203 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.5012, allocations: 0 / 0.8203 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5012, allocations: 0 / 0.8203 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5012, allocations: 0 / 0.8203 GB, free: 15.44 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.0005346/0.5017, allocations: 354 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5018, allocations: 11.12 kB / 0.8207 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.5018, allocations: 32.59 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.5018, allocations: 10.38 kB / 0.8207 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.845e-05/0.5019, allocations: 123.8 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.5019, allocations: 384 / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.5019, allocations: 7.438 kB / 0.8208 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.5022, allocations: 88.14 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5022, allocations: 3.938 kB / 0.8209 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5022, allocations: 4.797 kB / 0.8209 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5022, allocations: 1.312 kB / 0.8209 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.5023, allocations: 69.42 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.5027, allocations: 275.6 kB / 0.8213 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.5029, allocations: 61.09 kB / 0.8213 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.465e-05/0.503, allocations: 44.27 kB / 0.8214 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.503, allocations: 5.062 kB / 0.8214 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.5033, allocations: 91.47 kB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.542e-06/0.5033, allocations: 1.438 kB / 0.8215 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0004514/0.5037, allocations: 168.9 kB / 0.8216 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.5038, allocations: 56.02 kB / 0.8217 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.5039, allocations: 122.1 kB / 0.8218 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.5039, allocations: 29.14 kB / 0.8218 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.504, allocations: 93.56 kB / 0.8219 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.504, allocations: 20.38 kB / 0.8219 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.5041, allocations: 31.86 kB / 0.822 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.5042, allocations: 325.7 kB / 0.8223 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.5043, allocations: 90.33 kB / 0.8224 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.5045, allocations: 113.2 kB / 0.8225 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.5047, allocations: 155 kB / 0.8226 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.5047, allocations: 0 / 0.8226 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003331/0.505, allocations: 241.6 kB / 0.8228 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.5051, allocations: 36.75 kB / 0.8229 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5051, allocations: 0 / 0.8229 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5051, allocations: 1.25 kB / 0.8229 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.613e-05/0.5052, allocations: 21.45 kB / 0.8229 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.5052, allocations: 0 / 0.8229 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.5053, allocations: 35.67 kB / 0.8229 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.5053, allocations: 11.8 kB / 0.8229 GB, free: 13.38 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 8.471e-05/0.5054, allocations: 123.9 kB / 0.8231 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.5054, allocations: 7.141 kB / 0.8231 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.5054, allocations: 14.94 kB / 0.8231 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5055, allocations: 1.469 kB / 0.8231 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5055, allocations: 0.7969 kB / 0.8231 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5055, allocations: 1.438 kB / 0.8231 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.5056, allocations: 143.9 kB / 0.8232 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.5056, allocations: 1.406 kB / 0.8232 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.599e-05/0.5056, allocations: 19.16 kB / 0.8232 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5056, allocations: 2 kB / 0.8232 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.5056, allocations: 2.312 kB / 0.8232 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.5056, allocations: 0 / 0.8232 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5056, allocations: 4 kB / 0.8232 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.5059, allocations: 158.1 kB / 0.8234 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.5059, allocations: 11.52 kB / 0.8234 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.5059, allocations: 2.016 kB / 0.8234 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.347e-05/0.506, allocations: 14.97 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.506, allocations: 9.703 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.506, allocations: 3.031 kB / 0.8234 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.506, allocations: 99.75 kB / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.506, allocations: 0 / 0.8235 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001588/0.5062, allocations: 24.28 kB / 0.8236 GB, free: 12.88 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.0004906/0.5067, allocations: 0.6908 MB / 0.8242 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.507, allocations: 210.9 kB / 0.8244 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.507, allocations: 0 / 0.8244 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.5071, allocations: 40.66 kB / 0.8245 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.5073, allocations: 14.88 kB / 0.8245 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.509, allocations: 1.764 MB / 0.8262 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.62e-05/0.5091, allocations: 78.47 kB / 0.8263 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.53e-05/0.5091, allocations: 4.797 kB / 0.8263 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.5091, allocations: 20.34 kB / 0.8263 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of SimCode: time 6.01e-07/0.5091, allocations: 0.7812 kB / 0.8263 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02051/0.5296, allocations: 3.363 MB / 0.8296 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/7.298, allocations: 5.484 kB / 0.8296 GB, free: 9.582 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: 10.302550275810063] Failed to read output from testmodel.py, exit status != 0: 7.376110908109695 7.388324491 6.885071481 Calling exit ...