Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.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.001161/0.001161, 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.001321/0.001321, allocations: 213.7 kB / 22.25 MB, free: 3.711 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 1.021/1.021, allocations: 230.6 MB / 256 MB, free: 9.828 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.8069/0.8069, allocations: 203.8 MB / 0.5042 GB, free: 10.78 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.MultiOr,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr",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.0009847/0.0009847, allocations: 65.91 kB / 0.7182 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5288, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001564/0.5304, allocations: 0.8328 MB / 0.8187 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.5317, allocations: 1.521 MB / 0.8202 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.884e-05/0.5318, allocations: 6.5 kB / 0.8202 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.5319, allocations: 19.75 kB / 0.8202 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.286e-05/0.532, allocations: 39.19 kB / 0.8202 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009162/0.5329, allocations: 0.513 MB / 0.8207 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004633/0.5333, allocations: 486.5 kB / 0.8212 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.5335, allocations: 34.53 kB / 0.8212 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.5337, allocations: 178 kB / 0.8214 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.5339, allocations: 178.7 kB / 0.8216 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.769e-05/0.5339, allocations: 40.94 kB / 0.8216 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.524e-05/0.534, allocations: 52.58 kB / 0.8217 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.851e-05/0.5341, allocations: 46.7 kB / 0.8217 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.5343, allocations: 162.6 kB / 0.8219 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003974/0.5347, allocations: 413.6 kB / 0.8223 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5347, allocations: 4 kB / 0.8223 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5347, allocations: 0 / 0.8223 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.5347, allocations: 0 / 0.8223 GB, free: 14.74 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000601/0.5353, allocations: 0.5773 MB / 0.8228 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.5353, allocations: 9.594 kB / 0.8228 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.648e-05/0.5353, allocations: 42.81 kB / 0.8229 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.5354, allocations: 29.47 kB / 0.8229 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.5357, allocations: 209.7 kB / 0.8231 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.5357, allocations: 18.64 kB / 0.8231 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.5357, allocations: 35.19 kB / 0.8231 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.5359, allocations: 151.1 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.536, allocations: 3.938 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.536, allocations: 2.812 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.536, allocations: 2.688 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.5361, allocations: 85.69 kB / 0.8234 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.5371, allocations: 0.6782 MB / 0.824 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.5373, allocations: 86.66 kB / 0.8241 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.906e-05/0.5373, allocations: 41.14 kB / 0.8242 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.5373, allocations: 2.547 kB / 0.8242 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.5376, allocations: 161.3 kB / 0.8243 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/0.5376, allocations: 0 / 0.8243 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0004038/0.538, allocations: 247 kB / 0.8246 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.538, allocations: 55.41 kB / 0.8246 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.5382, allocations: 187.3 kB / 0.8248 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.5382, allocations: 43.98 kB / 0.8248 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.5383, allocations: 123.8 kB / 0.8249 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.5383, allocations: 45.55 kB / 0.825 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.5385, allocations: 119.2 kB / 0.8251 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.5386, allocations: 329.7 kB / 0.8254 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.5388, allocations: 152.8 kB / 0.8256 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.5391, allocations: 245.9 kB / 0.8258 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.5394, allocations: 409.4 kB / 0.8262 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5394, allocations: 0 / 0.8262 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006878/0.5401, allocations: 0.6336 MB / 0.8268 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-05/0.5402, allocations: 171.7 kB / 0.827 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5402, allocations: 2.469 kB / 0.827 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5402, allocations: 4.031 kB / 0.827 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.624e-05/0.5402, allocations: 11.66 kB / 0.827 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.5402, allocations: 4.484 kB / 0.827 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.5407, allocations: 144.2 kB / 0.8271 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.836e-05/0.5407, allocations: 33.3 kB / 0.8272 GB, free: 11.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0001282/0.5408, allocations: 159.4 kB / 0.8273 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.5409, allocations: 24.53 kB / 0.8273 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.5409, allocations: 18.89 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5409, allocations: 1.797 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.5409, allocations: 1.375 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5409, allocations: 5.062 kB / 0.8274 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.5413, allocations: 488.5 kB / 0.8278 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5414, allocations: 0.6094 kB / 0.8278 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.25e-05/0.5414, allocations: 7.688 kB / 0.8278 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.5414, allocations: 5.156 kB / 0.8278 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.5414, allocations: 4.594 kB / 0.8278 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5414, allocations: 5.391 kB / 0.8279 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5414, allocations: 0 / 0.8279 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.5416, allocations: 288 kB / 0.8281 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.613e-05/0.5416, allocations: 16.78 kB / 0.8281 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.5417, allocations: 12.41 kB / 0.8282 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.05e-05/0.5417, allocations: 2.578 kB / 0.8282 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.5417, allocations: 22.42 kB / 0.8282 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.5418, allocations: 12.11 kB / 0.8282 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.5418, allocations: 122.8 kB / 0.8283 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5418, allocations: 0 / 0.8283 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002631/0.5421, allocations: 81.89 kB / 0.8284 GB, free: 10.48 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: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004493/0.5425, allocations: 0.8295 MB / 0.8292 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005525/0.5431, allocations: 0.5499 MB / 0.8297 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5431, allocations: 1.969 kB / 0.8297 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.096e-05/0.5432, allocations: 67.72 kB / 0.8298 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.5435, allocations: 51.78 kB / 0.8299 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.5468, allocations: 3.002 MB / 0.8328 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.5471, allocations: 0.7328 MB / 0.8335 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.746e-05/0.5472, allocations: 21.89 kB / 0.8335 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.5472, allocations: 54.92 kB / 0.8336 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5472, allocations: 0 / 0.8336 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.5685, allocations: 6.58 MB / 0.84 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.586/7.155, allocations: 8.062 kB / 0.84 GB, free: 4.434 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.297910060966387] Failed to read output from testmodel.py, exit status != 0: 7.238809717120603 7.248811411 6.712124084 Calling exit ...