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.0006273/0.0006273, allocations: 101.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.00114/0.00114, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9849/0.9849, allocations: 230.6 MB / 256 MB, free: 9.578 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.8078/0.8078, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.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: 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.0009289/0.0009289, allocations: 74.53 kB / 0.7182 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.535, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001542/0.5366, allocations: 0.6427 MB / 0.8184 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.5378, allocations: 1.205 MB / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.5378, allocations: 0 / 0.8196 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.5378, allocations: 4.594 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.412e-05/0.5379, allocations: 12.41 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005952/0.5385, allocations: 224.5 kB / 0.8198 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.5388, allocations: 169.9 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.5389, allocations: 5.812 kB / 0.82 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.921e-05/0.5389, allocations: 79.27 kB / 0.8201 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.5391, allocations: 51.72 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.5391, allocations: 13.97 kB / 0.8201 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.634e-05/0.5392, allocations: 28.88 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.5392, allocations: 13.28 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.004e-05/0.5392, allocations: 51.42 kB / 0.8202 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.5394, allocations: 148.6 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5394, allocations: 4 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5395, allocations: 0.6562 kB / 0.8204 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5395, allocations: 0 / 0.8204 GB, free: 15.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004319/0.5399, allocations: 362.4 kB / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5399, allocations: 10.61 kB / 0.8207 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.075e-05/0.54, allocations: 35.27 kB / 0.8208 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.54, allocations: 13.53 kB / 0.8208 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.584e-05/0.5401, allocations: 118.4 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.5401, allocations: 2.797 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.5401, allocations: 9.25 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.5402, allocations: 54.22 kB / 0.821 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.5402, allocations: 3.938 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.5403, allocations: 1.312 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.5403, allocations: 3.609 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.231e-05/0.5403, allocations: 12.59 kB / 0.821 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.5407, allocations: 298.8 kB / 0.8213 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.134e-05/0.5407, allocations: 31.77 kB / 0.8213 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.5408, allocations: 19.97 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.5408, allocations: 1.469 kB / 0.8213 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.5409, allocations: 81.94 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.5409, allocations: 4 kB / 0.8214 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002429/0.5412, allocations: 105.8 kB / 0.8215 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.5412, allocations: 56.06 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.728e-05/0.5413, allocations: 121.5 kB / 0.8217 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.5414, allocations: 31.88 kB / 0.8217 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.5414, allocations: 91.66 kB / 0.8218 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.5414, allocations: 18.75 kB / 0.8218 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.5415, allocations: 46.05 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.5416, allocations: 324.2 kB / 0.8222 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.5417, allocations: 119.4 kB / 0.8223 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.5419, allocations: 163.7 kB / 0.8224 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.542, allocations: 156.6 kB / 0.8226 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.542, allocations: 0 / 0.8226 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000358/0.5424, allocations: 319.5 kB / 0.8229 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.328e-05/0.5424, allocations: 69.53 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5424, allocations: 5.531 kB / 0.8229 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.5425, allocations: 5.469 kB / 0.823 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.807e-05/0.5425, allocations: 3.125 kB / 0.823 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5425, allocations: 5.312 kB / 0.823 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.5427, allocations: 60.72 kB / 0.823 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.5427, allocations: 10.72 kB / 0.823 GB, free: 13.1 MB / 0.6198 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 7.882e-05/0.5428, allocations: 131.2 kB / 0.8232 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.217e-06/0.5428, allocations: 11.33 kB / 0.8232 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.5428, allocations: 9.625 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5428, allocations: 1.219 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5428, allocations: 0 / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5428, allocations: 3.719 kB / 0.8232 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.295e-05/0.5429, allocations: 146.8 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5429, allocations: 0 / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-06/0.5429, allocations: 0.9688 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.5429, allocations: 1.5 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.5429, allocations: 1.031 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5429, allocations: 0 / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.5429, allocations: 5.188 kB / 0.8233 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.5431, allocations: 121 kB / 0.8234 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-06/0.5431, allocations: 2.875 kB / 0.8234 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.5431, allocations: 2.016 kB / 0.8234 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.639e-05/0.5431, allocations: 6.203 kB / 0.8235 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.5431, allocations: 5.125 kB / 0.8235 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.5431, allocations: 3.375 kB / 0.8235 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.591e-05/0.5432, allocations: 90.88 kB / 0.8235 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5432, allocations: 0 / 0.8235 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001598/0.5433, allocations: 35.58 kB / 0.8236 GB, free: 12.61 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: 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.0002921/0.5436, allocations: 0.655 MB / 0.8242 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002749/0.5439, allocations: 279.3 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5439, allocations: 0 / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.5439, allocations: 24.7 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.5441, allocations: 12.09 kB / 0.8245 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.5459, allocations: 1.969 MB / 0.8264 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.426e-05/0.5459, allocations: 69.36 kB / 0.8265 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.546, allocations: 13.64 kB / 0.8265 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.546, allocations: 20.5 kB / 0.8265 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.546, allocations: 0 / 0.8265 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.5631, allocations: 3.629 MB / 0.8301 GB, free: 8.922 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/7.187, allocations: 11.25 kB / 0.8301 GB, free: 8.918 MB / 0.6198 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: 10.287022474687546] Failed to read output from testmodel.py, exit status != 0: 7.267876002006233 7.286096937 6.743392828 Calling exit ...