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.0007488/0.0007488, allocations: 80.45 kB / 19.15 MB, free: 0.7773 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.0007684/0.0007684, allocations: 162 kB / 22.43 MB, free: 2.145 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.8457/0.8457, allocations: 177.2 MB / 202.8 MB, free: 5.77 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.6846/0.6846, allocations: 155 MB / 414.2 MB, free: 480 kB / 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.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.0009286/0.0009286, allocations: 73.53 kB / 0.6187 GB, free: 13.2 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4453/0.4462, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001461/0.4477, allocations: 0.6317 MB / 0.7189 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.4489, allocations: 1.209 MB / 0.7201 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.4489, allocations: 0 / 0.7201 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.4489, allocations: 4.594 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.449, allocations: 16.64 kB / 0.7201 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005463/0.4495, allocations: 220.5 kB / 0.7203 GB, free: 21.74 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.4498, allocations: 177.6 kB / 0.7205 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.4499, allocations: 9.453 kB / 0.7205 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.45, allocations: 96.5 kB / 0.7206 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.4501, allocations: 52.42 kB / 0.7206 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.782e-05/0.4501, allocations: 15.47 kB / 0.7206 GB, free: 21.6 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.076e-05/0.4502, allocations: 27.98 kB / 0.7206 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.4502, allocations: 9.359 kB / 0.7207 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.527e-05/0.4503, allocations: 55.33 kB / 0.7207 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.4505, allocations: 185.3 kB / 0.7209 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.4505, allocations: 1.844 kB / 0.7209 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4505, allocations: 0 / 0.7209 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.4505, allocations: 0 / 0.7209 GB, free: 21.49 MB / 0.6355 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.0004223/0.451, allocations: 358.3 kB / 0.7212 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.451, allocations: 11.09 kB / 0.7212 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.04e-05/0.451, allocations: 36.5 kB / 0.7213 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.4511, allocations: 17.59 kB / 0.7213 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.941e-05/0.4511, allocations: 110.2 kB / 0.7214 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.4511, allocations: 10.19 kB / 0.7214 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.4512, allocations: 13.12 kB / 0.7214 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.897e-05/0.4513, allocations: 50.11 kB / 0.7215 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.4513, allocations: 7.938 kB / 0.7215 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.4513, allocations: 5.672 kB / 0.7215 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4513, allocations: 0.9062 kB / 0.7215 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.394e-05/0.4513, allocations: 18.03 kB / 0.7215 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.4517, allocations: 302 kB / 0.7218 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.426e-05/0.4517, allocations: 30.39 kB / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.4518, allocations: 14.97 kB / 0.7218 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.4518, allocations: 1.734 kB / 0.7218 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.4519, allocations: 86.08 kB / 0.7219 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.4519, allocations: 0 / 0.7219 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000204/0.4521, allocations: 105.2 kB / 0.722 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.4522, allocations: 52.95 kB / 0.7221 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.4522, allocations: 116.7 kB / 0.7222 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4522, allocations: 34.05 kB / 0.7222 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.4523, allocations: 95.41 kB / 0.7223 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.4523, allocations: 18.73 kB / 0.7223 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/0.4524, allocations: 49.28 kB / 0.7224 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.027e-05/0.4524, allocations: 322.2 kB / 0.7227 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.4525, allocations: 129.5 kB / 0.7228 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.4526, allocations: 149.9 kB / 0.7229 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.4527, allocations: 156.2 kB / 0.7231 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4527, allocations: 1.094 kB / 0.7231 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002925/0.453, allocations: 324.5 kB / 0.7234 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.943e-05/0.4531, allocations: 72.52 kB / 0.7235 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4531, allocations: 5.062 kB / 0.7235 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4531, allocations: 2.141 kB / 0.7235 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.88e-05/0.4531, allocations: 2.25 kB / 0.7235 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4531, allocations: 7.172 kB / 0.7235 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.4533, allocations: 51.36 kB / 0.7235 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.4533, allocations: 16.23 kB / 0.7235 GB, free: 19.16 MB / 0.6355 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 6.294e-05/0.4534, allocations: 132.2 kB / 0.7237 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-06/0.4534, allocations: 8.469 kB / 0.7237 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.03e-05/0.4534, allocations: 6.859 kB / 0.7237 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4534, allocations: 0 / 0.7237 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4535, allocations: 1.406 kB / 0.7237 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.4535, allocations: 0.6094 kB / 0.7237 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.413e-05/0.4535, allocations: 150.7 kB / 0.7238 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4535, allocations: 0.5156 kB / 0.7238 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-06/0.4535, allocations: 2.156 kB / 0.7238 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4535, allocations: 0 / 0.7238 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.4536, allocations: 2.062 kB / 0.7238 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.4536, allocations: 5.938 kB / 0.7238 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4536, allocations: 64 / 0.7238 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.4537, allocations: 122.3 kB / 0.724 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-06/0.4537, allocations: 2.938 kB / 0.724 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.4537, allocations: 1.656 kB / 0.724 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.545e-05/0.4537, allocations: 1.797 kB / 0.724 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.4537, allocations: 10.45 kB / 0.724 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.4538, allocations: 2.188 kB / 0.724 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.4538, allocations: 89.94 kB / 0.7241 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4538, allocations: 1.031 kB / 0.7241 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001741/0.454, allocations: 35.72 kB / 0.7241 GB, free: 18.66 MB / 0.6355 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.0002427/0.4542, allocations: 0.6543 MB / 0.7247 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.4544, allocations: 276.2 kB / 0.725 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4544, allocations: 288 / 0.725 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.199e-05/0.4545, allocations: 21.19 kB / 0.725 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.4547, allocations: 20.09 kB / 0.725 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.456, allocations: 1.964 MB / 0.727 GB, free: 16.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.456, allocations: 74.02 kB / 0.727 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.456, allocations: 9.562 kB / 0.727 GB, free: 16.03 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.312e-05/0.4561, allocations: 21.11 kB / 0.7271 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of SimCode: time 6.31e-07/0.4561, allocations: 3.938 kB / 0.7271 GB, free: 16.01 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.4754, allocations: 3.764 MB / 0.7307 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.464/6.94, allocations: 9.781 kB / 0.7307 GB, free: 14.94 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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: 9.522028282983229] Failed to read output from testmodel.py, exit status != 0: 7.017615078017116 7.027376149 6.575020102 Calling exit ...