Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.0009256/0.0009256, 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.0009619/0.0009619, 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.9449/0.9449, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7627/0.7627, allocations: 154.5 MB / 413.7 MB, free: 0.832 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.Or,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.767e-06/3.767e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.4e-05, allocations: 5.953 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001587/0.001621, allocations: 0.6382 MB / 0.6187 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.003108, allocations: 1.209 MB / 0.6199 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.003167, allocations: 4 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 4.191e-05/0.003208, allocations: 3.938 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.825e-05/0.003307, allocations: 11.92 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.003967, allocations: 217.9 kB / 0.6201 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.004151, allocations: 171.7 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.828e-05/0.004249, allocations: 11.98 kB / 0.6203 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.004358, allocations: 91.86 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.004466, allocations: 51.92 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.004491, allocations: 16 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.285e-05/0.004554, allocations: 31.91 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.004575, allocations: 11.94 kB / 0.6205 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.004631, allocations: 51.89 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.004832, allocations: 183.5 kB / 0.6207 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.004835, allocations: 0 / 0.6207 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.372e-06/0.004837, allocations: 0 / 0.6207 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.004843, allocations: 0 / 0.6207 GB, free: 11.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004784/0.005321, allocations: 357.6 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.005371, allocations: 13.47 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.058e-05/0.005411, allocations: 38.73 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.005462, allocations: 12.89 kB / 0.6211 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.686e-05/0.005549, allocations: 105.8 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.005565, allocations: 4.375 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.005589, allocations: 16.36 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.005699, allocations: 46.25 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.005706, allocations: 4.125 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.005717, allocations: 384 / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.005726, allocations: 4.125 kB / 0.6213 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.005762, allocations: 15.98 kB / 0.6213 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.006174, allocations: 303.8 kB / 0.6216 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.468e-05/0.006248, allocations: 26.67 kB / 0.6216 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.567e-05/0.006274, allocations: 20.78 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.006285, allocations: 3.938 kB / 0.6216 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.006466, allocations: 83.36 kB / 0.6217 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.006467, allocations: 0 / 0.6217 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002034/0.006671, allocations: 101.6 kB / 0.6218 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.006707, allocations: 59.34 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.006781, allocations: 121.8 kB / 0.622 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.006801, allocations: 33.64 kB / 0.622 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.00685, allocations: 96.14 kB / 0.6221 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.006865, allocations: 15.88 kB / 0.6221 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.936e-05/0.006924, allocations: 49.69 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.007007, allocations: 314.8 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.007126, allocations: 123.4 kB / 0.6226 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.007246, allocations: 151.7 kB / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.007387, allocations: 159.6 kB / 0.6229 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.007391, allocations: 7.938 kB / 0.6229 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003047/0.007696, allocations: 324.7 kB / 0.6232 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.007742, allocations: 67.39 kB / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.007748, allocations: 3.938 kB / 0.6232 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.007762, allocations: 4 kB / 0.6232 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.052e-05/0.007783, allocations: 3.938 kB / 0.6232 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.007791, allocations: 7.984 kB / 0.6233 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.008005, allocations: 60 kB / 0.6233 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.008028, allocations: 12.06 kB / 0.6233 GB, free: 8.027 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 9.407e-05/0.008122, allocations: 126.8 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.008135, allocations: 7.953 kB / 0.6235 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.008162, allocations: 8.438 kB / 0.6235 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.008165, allocations: 0 / 0.6235 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.008172, allocations: 4 kB / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.008176, allocations: 0 / 0.6235 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.008282, allocations: 148.7 kB / 0.6236 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008283, allocations: 0 / 0.6236 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.624e-06/0.008291, allocations: 3.938 kB / 0.6236 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.008293, allocations: 0 / 0.6236 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.008301, allocations: 4 kB / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.008302, allocations: 0 / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.008303, allocations: 0 / 0.6236 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.00842, allocations: 117.3 kB / 0.6237 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.008428, allocations: 7.953 kB / 0.6237 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.008439, allocations: 3.984 kB / 0.6237 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.324e-05/0.008453, allocations: 0 / 0.6237 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.008488, allocations: 12 kB / 0.6237 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.008495, allocations: 3.984 kB / 0.6238 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.412e-05/0.008529, allocations: 91.22 kB / 0.6238 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.008529, allocations: 3.938 kB / 0.6238 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001612/0.008691, allocations: 31.98 kB / 0.6239 GB, free: 7.391 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003391/0.00903, allocations: 0.6516 MB / 0.6245 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.009287, allocations: 282.1 kB / 0.6248 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.009289, allocations: 4 kB / 0.6248 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.922e-05/0.009318, allocations: 24.19 kB / 0.6248 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.009504, allocations: 26.8 kB / 0.6248 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.01094, allocations: 1.949 MB / 0.6267 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.284e-05/0.01098, allocations: 71.28 kB / 0.6268 GB, free: 4.133 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.451e-05/0.011, allocations: 7.984 kB / 0.6268 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.01104, allocations: 24.48 kB / 0.6268 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of SimCode: time 5e-07/0.01104, allocations: 0 / 0.6268 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01697/0.02801, allocations: 3.742 MB / 0.6305 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/6.828, allocations: 0 / 0.6305 GB, free: 0.5508 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or_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_Or.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.772336365655065] Failed to read output from testmodel.py, exit status != 0: 6.911644704639912 6.926489024 6.918812102 Calling exit ...