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.0008471/0.0008471, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008834/0.0008834, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9179/0.9179, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7308/0.7308, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.946e-05, allocations: 12.66 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001836/0.001855, allocations: 0.7813 MB / 0.6188 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.003879, allocations: 1.52 MB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.003961, allocations: 0 / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.004074, allocations: 15.8 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.509e-05/0.004149, allocations: 39.66 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.005387, allocations: 0.5141 MB / 0.6209 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005553/0.005942, allocations: 479.1 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.006076, allocations: 25.67 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.006348, allocations: 267.6 kB / 0.6216 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.006572, allocations: 143.7 kB / 0.6217 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.081e-05/0.006643, allocations: 40 kB / 0.6218 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003249/0.009892, allocations: 63.84 kB / 0.6218 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.009956, allocations: 39.89 kB / 0.6219 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.01013, allocations: 139.8 kB / 0.622 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005858/0.01072, allocations: 482.8 kB / 0.6225 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01072, allocations: 0 / 0.6225 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.372e-06/0.01072, allocations: 0 / 0.6225 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.01073, allocations: 4 kB / 0.6225 GB, free: 9.172 MB / 0.5886 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.0006303/0.01136, allocations: 0.5644 MB / 0.623 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.0114, allocations: 17.47 kB / 0.623 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.01144, allocations: 46.73 kB / 0.6231 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.321e-05/0.01151, allocations: 36.8 kB / 0.6231 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.01208, allocations: 201.4 kB / 0.6233 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.0121, allocations: 16.38 kB / 0.6233 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.01215, allocations: 32.36 kB / 0.6234 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.01239, allocations: 158.6 kB / 0.6235 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.0124, allocations: 192 / 0.6235 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.01241, allocations: 8.375 kB / 0.6235 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.01242, allocations: 4.125 kB / 0.6235 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.01254, allocations: 79.95 kB / 0.6236 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.01329, allocations: 0.6009 MB / 0.6242 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.01349, allocations: 94.42 kB / 0.6243 GB, free: 7.164 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.01356, allocations: 44.83 kB / 0.6243 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.01357, allocations: 0 / 0.6243 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/0.01386, allocations: 153.4 kB / 0.6245 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.01386, allocations: 0 / 0.6245 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20): time 0.0004035/0.01426, allocations: 241.5 kB / 0.6247 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.01431, allocations: 67.34 kB / 0.6248 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.01456, allocations: 187.6 kB / 0.6249 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.0146, allocations: 37.7 kB / 0.625 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/0.0147, allocations: 128.6 kB / 0.6251 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.01473, allocations: 43.69 kB / 0.6251 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.01486, allocations: 117.6 kB / 0.6253 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.01495, allocations: 326.8 kB / 0.6256 GB, free: 5.781 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.01525, allocations: 308.4 kB / 0.6259 GB, free: 5.449 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.01557, allocations: 398.6 kB / 0.6262 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.01591, allocations: 398.6 kB / 0.6266 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01591, allocations: 0 / 0.6266 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007893/0.0167, allocations: 0.7847 MB / 0.6274 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.181e-05/0.0168, allocations: 160.5 kB / 0.6275 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.01681, allocations: 4 kB / 0.6275 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.01682, allocations: 7.938 kB / 0.6275 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.059e-05/0.01686, allocations: 11.92 kB / 0.6276 GB, free: 3.473 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.01687, allocations: 7.938 kB / 0.6276 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.0173, allocations: 144 kB / 0.6277 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.01734, allocations: 35.97 kB / 0.6277 GB, free: 3.289 MB / 0.5886 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.0001456/0.01749, allocations: 158.7 kB / 0.6279 GB, free: 3.125 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.01751, allocations: 15.91 kB / 0.6279 GB, free: 3.109 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.817e-05/0.01755, allocations: 17.81 kB / 0.6279 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.01755, allocations: 4 kB / 0.6279 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.01756, allocations: 3.938 kB / 0.6279 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01756, allocations: 3.984 kB / 0.6279 GB, free: 3.074 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006528/0.01822, allocations: 467.6 kB / 0.6284 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.01822, allocations: 4.062 kB / 0.6284 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.01824, allocations: 11.92 kB / 0.6284 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.01825, allocations: 7.938 kB / 0.6284 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.01826, allocations: 0 / 0.6284 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01826, allocations: 4 kB / 0.6284 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01826, allocations: 0 / 0.6284 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.01848, allocations: 281.6 kB / 0.6287 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.0185, allocations: 19.8 kB / 0.6287 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.01852, allocations: 8.094 kB / 0.6287 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.675e-05/0.01857, allocations: 7.922 kB / 0.6287 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.01862, allocations: 23.91 kB / 0.6287 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.01863, allocations: 8 kB / 0.6287 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.762e-05/0.0187, allocations: 121.8 kB / 0.6289 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.1e-08/0.0187, allocations: 4 kB / 0.6289 GB, free: 2.066 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000289/0.01899, allocations: 79.92 kB / 0.6289 GB, free: 1.988 MB / 0.5886 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.0005469/0.01954, allocations: 0.826 MB / 0.6297 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005851/0.02012, allocations: 0.6926 MB / 0.6304 GB, free: 356 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.02013, allocations: 4.688 kB / 0.6304 GB, free: 352 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.185e-05/0.0202, allocations: 61.97 kB / 0.6305 GB, free: 292 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.02052, allocations: 58.12 kB / 0.6305 GB, free: 236 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.02389, allocations: 3.627 MB / 0.6341 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.637e-05/0.02398, allocations: 120 kB / 0.6342 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.464e-05/0.02407, allocations: 25.47 kB / 0.6342 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.788e-05/0.02413, allocations: 52.48 kB / 0.6343 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of SimCode: time 9.12e-07/0.02413, allocations: 4 kB / 0.6343 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.04968, allocations: 7.629 MB / 0.6417 GB, free: 4.719 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/6.834, allocations: 2.953 kB / 0.6417 GB, free: 4.719 MB / 0.6042 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: 9.691348653286695] Failed to read output from testmodel.py, exit status != 0: 6.91814997792244 6.926094923 6.913580977 Calling exit ...