Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.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.0008352/0.0008352, 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.000967/0.000967, allocations: 221.7 kB / 22.26 MB, free: 3.691 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.9946/0.9946, allocations: 230.6 MB / 256 MB, free: 9.797 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.8299/0.8299, allocations: 203.8 MB / 0.5042 GB, free: 10.72 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.And,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And",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.00121/0.00121, allocations: 67.2 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5999/0.6011, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001362/0.6024, allocations: 0.6447 MB / 0.8185 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.6035, allocations: 1.231 MB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.488e-05/0.6036, allocations: 2.094 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.6036, allocations: 3.938 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.6036, allocations: 12.31 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.6042, allocations: 220.1 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.6044, allocations: 170.3 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.6045, allocations: 13 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002767/0.6048, allocations: 71.05 kB / 0.8202 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.6049, allocations: 61.8 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.6049, allocations: 17.66 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.686e-05/0.605, allocations: 38.97 kB / 0.8203 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.605, allocations: 9.953 kB / 0.8203 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.176e-05/0.6051, allocations: 56.38 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002327/0.6053, allocations: 157.5 kB / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6053, allocations: 0 / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6053, allocations: 0 / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.076e-06/0.6053, allocations: 0 / 0.8205 GB, free: 15.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004719/0.6058, allocations: 358.6 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.6058, allocations: 9.75 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.896e-05/0.6059, allocations: 38 kB / 0.8209 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.6059, allocations: 10.83 kB / 0.8209 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.606, allocations: 116.4 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.606, allocations: 4.922 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.606, allocations: 9.422 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.6062, allocations: 55.31 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.6062, allocations: 3.938 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.6062, allocations: 0.5156 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6062, allocations: 3.938 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.097e-05/0.6062, allocations: 14 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.6067, allocations: 329.1 kB / 0.8214 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.512e-05/0.6067, allocations: 33.61 kB / 0.8214 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.6068, allocations: 20.75 kB / 0.8215 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.6068, allocations: 0.6094 kB / 0.8215 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.607, allocations: 80.81 kB / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.607, allocations: 0 / 0.8215 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000235/0.6072, allocations: 108.9 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.6072, allocations: 52.16 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.486e-05/0.6073, allocations: 119.2 kB / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.6073, allocations: 29.5 kB / 0.8218 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/0.6074, allocations: 94.3 kB / 0.8219 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.6074, allocations: 18.36 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.6075, allocations: 52.86 kB / 0.822 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.6076, allocations: 322.8 kB / 0.8223 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.6077, allocations: 60.16 kB / 0.8224 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.6078, allocations: 92.58 kB / 0.8224 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.6079, allocations: 158 kB / 0.8226 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6079, allocations: 1.406 kB / 0.8226 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002982/0.6082, allocations: 262.6 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.6083, allocations: 70.17 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6083, allocations: 2 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6083, allocations: 3.5 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.881e-05/0.6083, allocations: 0.6562 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.6083, allocations: 2.734 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.6085, allocations: 63.38 kB / 0.823 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.6086, allocations: 15.23 kB / 0.823 GB, free: 13.48 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,and1.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 8.372e-05/0.6086, allocations: 122.2 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-06/0.6086, allocations: 7.172 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.6087, allocations: 10.02 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.6087, allocations: 2.594 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6087, allocations: 7.938 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6087, allocations: 0 / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.612e-05/0.6088, allocations: 150.5 kB / 0.8233 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.6088, allocations: 4.688 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-06/0.6088, allocations: 0.7969 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6088, allocations: 0.5938 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.6088, allocations: 3.328 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.6088, allocations: 96 / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6088, allocations: 3.938 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.6089, allocations: 120.5 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-06/0.6089, allocations: 2.312 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.6089, allocations: 1.828 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.659e-05/0.609, allocations: 5.781 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.609, allocations: 4.625 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.609, allocations: 4.125 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.609, allocations: 94.11 kB / 0.8235 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.609, allocations: 0 / 0.8235 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001674/0.6092, allocations: 37.06 kB / 0.8236 GB, free: 12.98 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,and1.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.0009628/0.6102, allocations: 0.6436 MB / 0.8242 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003168/0.6105, allocations: 220 kB / 0.8244 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6105, allocations: 0 / 0.8244 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.6105, allocations: 25.83 kB / 0.8244 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.6108, allocations: 24.97 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.6124, allocations: 1.721 MB / 0.8261 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.6126, allocations: 0.6846 MB / 0.8268 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.518e-05/0.6127, allocations: 13.33 kB / 0.8268 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.629e-05/0.6127, allocations: 19.89 kB / 0.8268 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of SimCode: time 1.744e-06/0.6127, allocations: 0 / 0.8268 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.633, allocations: 3.02 MB / 0.8298 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.606/7.239, allocations: 6.219 kB / 0.8298 GB, free: 9.496 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And_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_And.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.404370288131759] Failed to read output from testmodel.py, exit status != 0: 7.3156440609600395 7.327609909 6.720187874 Calling exit ...