Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.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.0007861/0.0007861, 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.0008535/0.0008535, allocations: 162.3 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.8917/0.8917, 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.7176/0.7176, allocations: 154.9 MB / 414.2 MB, free: 472 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.Edge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",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.0009413/0.0009413, allocations: 70.45 kB / 0.6187 GB, free: 13.21 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.4349/0.4359, allocations: 102 MB / 0.7183 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001571/0.4375, allocations: 0.7193 MB / 0.719 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.4387, allocations: 1.166 MB / 0.7201 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.959e-05/0.4387, allocations: 5.438 kB / 0.7201 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.4387, allocations: 4.594 kB / 0.7201 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.4388, allocations: 14.48 kB / 0.7201 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004418/0.4393, allocations: 137.2 kB / 0.7203 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.4394, allocations: 117.3 kB / 0.7204 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4395, allocations: 14.05 kB / 0.7204 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.4397, allocations: 65.92 kB / 0.7204 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.577e-05/0.4398, allocations: 43.84 kB / 0.7205 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.4398, allocations: 19.12 kB / 0.7205 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.629e-05/0.4398, allocations: 18.66 kB / 0.7205 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.4399, allocations: 13.34 kB / 0.7205 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.4399, allocations: 42.45 kB / 0.7206 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002114/0.4401, allocations: 132.3 kB / 0.7207 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.4401, allocations: 0 / 0.7207 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.395e-06/0.4401, allocations: 0 / 0.7207 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.4402, allocations: 1.25 kB / 0.7207 GB, free: 21.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004992/0.4407, allocations: 340.7 kB / 0.721 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4407, allocations: 10.59 kB / 0.721 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.331e-05/0.4407, allocations: 41.42 kB / 0.7211 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.4408, allocations: 6.031 kB / 0.7211 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.403e-05/0.4408, allocations: 116.4 kB / 0.7212 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.4408, allocations: 3.75 kB / 0.7212 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.4409, allocations: 15.27 kB / 0.7212 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.441, allocations: 59.66 kB / 0.7213 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.441, allocations: 3.938 kB / 0.7213 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.441, allocations: 6.016 kB / 0.7213 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.441, allocations: 1.062 kB / 0.7213 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.952e-05/0.4411, allocations: 46.27 kB / 0.7213 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.4415, allocations: 292.2 kB / 0.7216 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.4416, allocations: 53.22 kB / 0.7216 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.4417, allocations: 34.42 kB / 0.7217 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.4417, allocations: 5.031 kB / 0.7217 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.4418, allocations: 92.44 kB / 0.7218 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.4418, allocations: 0 / 0.7218 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003024/0.4421, allocations: 145.9 kB / 0.7219 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/0.4422, allocations: 58.34 kB / 0.722 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.929e-05/0.4422, allocations: 121.2 kB / 0.7221 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4423, allocations: 28.69 kB / 0.7221 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.4423, allocations: 90.61 kB / 0.7222 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.4423, allocations: 24.44 kB / 0.7222 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.4424, allocations: 38.02 kB / 0.7223 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.802e-05/0.4424, allocations: 323.8 kB / 0.7226 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.4425, allocations: 82.8 kB / 0.7226 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.4426, allocations: 115.9 kB / 0.7228 GB, free: 19.78 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.4428, allocations: 147.5 kB / 0.7229 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4428, allocations: 0 / 0.7229 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000264/0.4431, allocations: 241.6 kB / 0.7231 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.4431, allocations: 35.11 kB / 0.7232 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.4431, allocations: 1.734 kB / 0.7232 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4431, allocations: 2.312 kB / 0.7232 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.4432, allocations: 20.64 kB / 0.7232 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.4432, allocations: 1.156 kB / 0.7232 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.4433, allocations: 38.38 kB / 0.7232 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.4433, allocations: 7.656 kB / 0.7232 GB, free: 19.48 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 5.471e-05/0.4434, allocations: 124 kB / 0.7233 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.4434, allocations: 6.984 kB / 0.7234 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.4434, allocations: 10.53 kB / 0.7234 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4434, allocations: 5.156 kB / 0.7234 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.4434, allocations: 1.094 kB / 0.7234 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4434, allocations: 0.6562 kB / 0.7234 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.4437, allocations: 336.9 kB / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4437, allocations: 1.094 kB / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.874e-05/0.4437, allocations: 8.641 kB / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.4437, allocations: 0 / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.4437, allocations: 5.781 kB / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4437, allocations: 1.031 kB / 0.7237 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4437, allocations: 8.734 kB / 0.7237 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.4438, allocations: 210.2 kB / 0.7239 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.4439, allocations: 10.62 kB / 0.7239 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.4439, allocations: 5.781 kB / 0.7239 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.458e-05/0.4439, allocations: 11.83 kB / 0.7239 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.444, allocations: 8.984 kB / 0.724 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.444, allocations: 3.672 kB / 0.724 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.513e-05/0.444, allocations: 95.88 kB / 0.724 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.444, allocations: 7.938 kB / 0.7241 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001736/0.4442, allocations: 29.34 kB / 0.7241 GB, free: 18.77 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0003469/0.4445, allocations: 0.7389 MB / 0.7248 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.4448, allocations: 195.9 kB / 0.725 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4448, allocations: 256 / 0.725 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.131e-05/0.4448, allocations: 40.42 kB / 0.725 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.4451, allocations: 16.55 kB / 0.725 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.4464, allocations: 1.81 MB / 0.7268 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.26e-05/0.4464, allocations: 72.08 kB / 0.7269 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.4465, allocations: 9.016 kB / 0.7269 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.4465, allocations: 22.33 kB / 0.7269 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4465, allocations: 0 / 0.7269 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.4653, allocations: 3.346 MB / 0.7302 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.474/6.939, allocations: 3.875 kB / 0.7302 GB, free: 15.29 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.626514376141131] Failed to read output from testmodel.py, exit status != 0: 7.015800041146576 7.024475766 6.582488323 Calling exit ...