Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0008565/0.0008565, 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.0009022/0.0009022, allocations: 213.8 kB / 22.26 MB, free: 3.703 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.9687/0.9687, allocations: 230.6 MB / 256 MB, free: 9.82 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.8008/0.8008, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.Logical.Validation.Switch,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_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.001057/0.001057, allocations: 73.84 kB / 0.7182 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5423/0.5434, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00141/0.5448, allocations: 0.6948 MB / 0.8185 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.5459, allocations: 1.316 MB / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.546, allocations: 0 / 0.8198 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.546, allocations: 4.594 kB / 0.8198 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.405e-05/0.5461, allocations: 18.39 kB / 0.8198 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006106/0.5467, allocations: 313.9 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.5469, allocations: 257 kB / 0.8204 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.5471, allocations: 17.98 kB / 0.8204 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.5472, allocations: 102.9 kB / 0.8205 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.5473, allocations: 91.83 kB / 0.8206 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.5473, allocations: 23.59 kB / 0.8206 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-05/0.5474, allocations: 35.94 kB / 0.8207 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.5474, allocations: 10.83 kB / 0.8207 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.24e-05/0.5475, allocations: 85.28 kB / 0.8207 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.5478, allocations: 223.4 kB / 0.821 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5478, allocations: 0 / 0.821 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.715e-06/0.5478, allocations: 4 kB / 0.821 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.5478, allocations: 3.938 kB / 0.821 GB, free: 15.37 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.0005048/0.5483, allocations: 425.1 kB / 0.8214 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.5484, allocations: 11.84 kB / 0.8214 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.5484, allocations: 32.81 kB / 0.8214 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.5484, allocations: 14.92 kB / 0.8214 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.317e-05/0.5485, allocations: 120.2 kB / 0.8215 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.5486, allocations: 13.64 kB / 0.8216 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.5486, allocations: 13.09 kB / 0.8216 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.5487, allocations: 68.22 kB / 0.8216 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.5487, allocations: 3.938 kB / 0.8216 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.5487, allocations: 0.75 kB / 0.8216 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.5487, allocations: 1.188 kB / 0.8216 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.343e-05/0.5488, allocations: 22.19 kB / 0.8217 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.5493, allocations: 380.6 kB / 0.822 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.014e-05/0.5494, allocations: 35.38 kB / 0.8221 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.5494, allocations: 22.02 kB / 0.8221 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.5494, allocations: 0.6562 kB / 0.8221 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.5496, allocations: 102.3 kB / 0.8222 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.5496, allocations: 0 / 0.8222 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0002477/0.5498, allocations: 135.9 kB / 0.8223 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.5499, allocations: 59.23 kB / 0.8224 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.475e-05/0.55, allocations: 138.8 kB / 0.8225 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.55, allocations: 37.14 kB / 0.8225 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.5501, allocations: 100.5 kB / 0.8226 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.5501, allocations: 24.12 kB / 0.8226 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.5502, allocations: 68.02 kB / 0.8227 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.5502, allocations: 327.2 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.5504, allocations: 86.64 kB / 0.8231 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.5505, allocations: 134.1 kB / 0.8232 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.5507, allocations: 242.8 kB / 0.8235 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5507, allocations: 0 / 0.8235 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004359/0.5512, allocations: 379 kB / 0.8238 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/0.5512, allocations: 106.8 kB / 0.8239 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.5512, allocations: 1.188 kB / 0.8239 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5512, allocations: 2.656 kB / 0.8239 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.026e-05/0.5513, allocations: 4.406 kB / 0.8239 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5513, allocations: 2.906 kB / 0.8239 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.5515, allocations: 91.2 kB / 0.824 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.5516, allocations: 17.84 kB / 0.824 GB, free: 12.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.875e-05/0.5517, allocations: 133.7 kB / 0.8242 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.5517, allocations: 13.08 kB / 0.8242 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.5517, allocations: 10.8 kB / 0.8242 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5517, allocations: 2.25 kB / 0.8242 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5517, allocations: 0.5156 kB / 0.8242 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5517, allocations: 0.5156 kB / 0.8242 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.5518, allocations: 160.1 kB / 0.8243 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5518, allocations: 0 / 0.8243 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-06/0.5519, allocations: 3.5 kB / 0.8244 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.5519, allocations: 0 / 0.8244 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.5519, allocations: 6.875 kB / 0.8244 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.5519, allocations: 5.641 kB / 0.8244 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5519, allocations: 4 kB / 0.8244 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.552, allocations: 142.9 kB / 0.8245 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.552, allocations: 7.234 kB / 0.8245 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.552, allocations: 2.594 kB / 0.8245 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.5521, allocations: 5.062 kB / 0.8245 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.5521, allocations: 6.531 kB / 0.8245 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.5521, allocations: 8.922 kB / 0.8245 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.5522, allocations: 103.4 kB / 0.8246 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.5522, allocations: 0 / 0.8246 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002711/0.5524, allocations: 52.81 kB / 0.8247 GB, free: 12.4 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004637/0.5529, allocations: 0.6784 MB / 0.8253 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003743/0.5533, allocations: 328.2 kB / 0.8257 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5533, allocations: 0 / 0.8257 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.316e-05/0.5533, allocations: 34.8 kB / 0.8257 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.5535, allocations: 20.62 kB / 0.8257 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.5558, allocations: 2.065 MB / 0.8277 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.556, allocations: 0.6926 MB / 0.8284 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.321e-05/0.5561, allocations: 7.938 kB / 0.8284 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.5561, allocations: 27.12 kB / 0.8284 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of SimCode: time 1.613e-06/0.5562, allocations: 1.375 kB / 0.8284 GB, free: 9.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02698/0.5831, allocations: 3.983 MB / 0.8323 GB, free: 8.566 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/7.491, allocations: 8.844 kB / 0.8323 GB, free: 8.566 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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_Logical_Validation_Switch.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.55302226706408] Failed to read output from testmodel.py, exit status != 0: 7.570026050088927 7.583681617 7.032939948 Calling exit ...