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.0008207/0.0008207, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.000827/0.000827, allocations: 209.2 kB / 22.25 MB, free: 3.586 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.9671/0.9671, allocations: 230.6 MB / 256 MB, free: 9.621 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.8162/0.8162, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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.0009675/0.0009675, allocations: 70.47 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5325/0.5335, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001789/0.5352, allocations: 0.7993 MB / 0.8186 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.5372, allocations: 1.502 MB / 0.82 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.773e-05/0.5373, allocations: 0 / 0.82 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.5374, allocations: 17.91 kB / 0.8201 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.507e-05/0.5374, allocations: 37.47 kB / 0.8201 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.5385, allocations: 0.5216 MB / 0.8206 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005232/0.539, allocations: 481.5 kB / 0.8211 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.5391, allocations: 35.44 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.5393, allocations: 178 kB / 0.8213 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002456/0.5396, allocations: 156.7 kB / 0.8214 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.432e-05/0.5396, allocations: 40.41 kB / 0.8215 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.5397, allocations: 49.2 kB / 0.8215 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.38e-05/0.5398, allocations: 47.38 kB / 0.8216 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.54, allocations: 150.5 kB / 0.8217 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.5405, allocations: 417.1 kB / 0.8221 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5405, allocations: 0 / 0.8221 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.597e-06/0.5405, allocations: 1.094 kB / 0.8221 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.405e-06/0.5405, allocations: 0 / 0.8221 GB, free: 14.61 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.0007606/0.5412, allocations: 0.5719 MB / 0.8227 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.5413, allocations: 10.8 kB / 0.8227 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.5413, allocations: 41.86 kB / 0.8227 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.297e-05/0.5414, allocations: 32.67 kB / 0.8227 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.5418, allocations: 206 kB / 0.8229 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.5418, allocations: 18.19 kB / 0.8229 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.078e-05/0.5418, allocations: 30.48 kB / 0.823 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.5421, allocations: 157 kB / 0.8231 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.5421, allocations: 7.875 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.5421, allocations: 11.67 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.5421, allocations: 2 kB / 0.8231 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.5422, allocations: 77.72 kB / 0.8232 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/0.543, allocations: 0.5955 MB / 0.8238 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.5431, allocations: 89.95 kB / 0.8239 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.5432, allocations: 41.44 kB / 0.8239 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.5432, allocations: 5.219 kB / 0.8239 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/0.5435, allocations: 164.9 kB / 0.8241 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.804e-06/0.5435, allocations: 0 / 0.8241 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0004338/0.5439, allocations: 251.3 kB / 0.8243 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.544, allocations: 56.69 kB / 0.8244 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.5441, allocations: 191.6 kB / 0.8246 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.5442, allocations: 39.36 kB / 0.8246 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.5443, allocations: 119.9 kB / 0.8247 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.5443, allocations: 49.14 kB / 0.8248 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.5445, allocations: 119.8 kB / 0.8249 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.5446, allocations: 329.3 kB / 0.8252 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.545, allocations: 310.7 kB / 0.8255 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.5453, allocations: 394.1 kB / 0.8259 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.5457, allocations: 405.4 kB / 0.8263 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5457, allocations: 1.344 kB / 0.8263 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008571/0.5466, allocations: 0.7784 MB / 0.827 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.5467, allocations: 172.4 kB / 0.8272 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.5467, allocations: 2.625 kB / 0.8272 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.5467, allocations: 4.312 kB / 0.8272 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.973e-05/0.5467, allocations: 12.22 kB / 0.8272 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.5468, allocations: 7.906 kB / 0.8272 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.5472, allocations: 143.5 kB / 0.8273 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.5473, allocations: 33.75 kB / 0.8274 GB, free: 10.71 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.0001587/0.5475, allocations: 151.6 kB / 0.8275 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.5475, allocations: 24.34 kB / 0.8275 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.5475, allocations: 19 kB / 0.8276 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.5475, allocations: 10.19 kB / 0.8276 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.5475, allocations: 0 / 0.8276 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5475, allocations: 2.469 kB / 0.8276 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.548, allocations: 476 kB / 0.828 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.548, allocations: 5.312 kB / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.548, allocations: 7.984 kB / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.548, allocations: 2.141 kB / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.548, allocations: 4.281 kB / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.548, allocations: 1.688 kB / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.548, allocations: 0 / 0.828 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.5483, allocations: 282 kB / 0.8283 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.697e-05/0.5483, allocations: 17.67 kB / 0.8283 GB, free: 9.992 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.5483, allocations: 7.141 kB / 0.8283 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.26e-05/0.5483, allocations: 2.844 kB / 0.8283 GB, free: 9.988 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.5484, allocations: 22.98 kB / 0.8284 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.5484, allocations: 7.922 kB / 0.8284 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.598e-05/0.5485, allocations: 123.7 kB / 0.8285 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5485, allocations: 3.938 kB / 0.8285 GB, free: 9.887 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002833/0.5488, allocations: 85.77 kB / 0.8286 GB, free: 9.871 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.0008674/0.5496, allocations: 0.8241 MB / 0.8294 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006624/0.5503, allocations: 0.7029 MB / 0.8301 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5503, allocations: 0 / 0.8301 GB, free: 8.574 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.88e-05/0.5504, allocations: 65.44 kB / 0.8301 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.5507, allocations: 49.58 kB / 0.8302 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.554, allocations: 3.61 MB / 0.8337 GB, free: 5.773 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.5541, allocations: 118.5 kB / 0.8338 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.882e-05/0.5542, allocations: 21 kB / 0.8338 GB, free: 5.695 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.5543, allocations: 55.53 kB / 0.8339 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of SimCode: time 1.001e-06/0.5543, allocations: 0.7188 kB / 0.8339 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.5772, allocations: 7.535 MB / 0.8412 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/7.387, allocations: 12.16 kB / 0.8413 GB, free: 2.883 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.460497443098575] Failed to read output from testmodel.py, exit status != 0: 7.467387890908867 7.484991533 6.94183832 Calling exit ...