Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009112/0.0009112, 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.001004/0.001004, 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.9177/0.9177, 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 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7344/0.7344, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.949e-05, allocations: 6.656 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001212/0.001231, allocations: 0.7155 MB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.002295, allocations: 1.186 MB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.002341, allocations: 4 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.00237, allocations: 3.938 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.156e-05/0.002441, allocations: 15.88 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.002868, allocations: 134.1 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.003007, allocations: 119.7 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.003098, allocations: 11.98 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.003198, allocations: 67.88 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.003271, allocations: 31.94 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.003292, allocations: 16 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.314e-05/0.003345, allocations: 23.98 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.003366, allocations: 11.92 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.003409, allocations: 31.97 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.003555, allocations: 135.6 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.003556, allocations: 0 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.11e-07/0.003557, allocations: 0 / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.003562, allocations: 0 / 0.6205 GB, free: 11.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004198/0.003981, allocations: 335.8 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.004017, allocations: 8.031 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.716e-05/0.004044, allocations: 38.75 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.004077, allocations: 12.88 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.153e-05/0.004149, allocations: 117.1 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.004161, allocations: 8.375 kB / 0.621 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.004176, allocations: 8.375 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.004296, allocations: 62.22 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.004304, allocations: 192 / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.004313, allocations: 4.312 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.004319, allocations: 8.125 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.183e-05/0.004411, allocations: 39.95 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.004777, allocations: 279.8 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.004891, allocations: 58.55 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.004944, allocations: 36.94 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.004955, allocations: 7.938 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.005099, allocations: 91.42 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.0051, allocations: 0 / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002575/0.005357, allocations: 145.5 kB / 0.6218 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.005386, allocations: 51.41 kB / 0.6218 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.168e-05/0.005447, allocations: 121.8 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.005465, allocations: 25.7 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.005507, allocations: 92.09 kB / 0.622 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.005525, allocations: 23.83 kB / 0.6221 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.005577, allocations: 41.7 kB / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/0.005657, allocations: 322.8 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.00576, allocations: 77.67 kB / 0.6225 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.005869, allocations: 121.2 kB / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.00602, allocations: 145.9 kB / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.006023, allocations: 4 kB / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002588/0.006282, allocations: 244.7 kB / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.00631, allocations: 37.69 kB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.006314, allocations: 0 / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.006326, allocations: 0 / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.685e-05/0.006382, allocations: 16.11 kB / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.006389, allocations: 11.94 kB / 0.623 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.006485, allocations: 27.97 kB / 0.6231 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.0065, allocations: 7.984 kB / 0.6231 GB, free: 8.293 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: 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 7.913e-05/0.006579, allocations: 129 kB / 0.6232 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.006588, allocations: 11.95 kB / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.006611, allocations: 8.438 kB / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.006612, allocations: 4 kB / 0.6232 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.006618, allocations: 4 kB / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.006622, allocations: 3.984 kB / 0.6232 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.006908, allocations: 345.8 kB / 0.6235 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.00691, allocations: 4 kB / 0.6236 GB, free: 7.734 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.006933, allocations: 11.98 kB / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006934, allocations: 0 / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.006941, allocations: 0 / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.006943, allocations: 4 kB / 0.6236 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.006945, allocations: 4 kB / 0.6236 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.007104, allocations: 207.4 kB / 0.6238 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/0.007111, allocations: 7.953 kB / 0.6238 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.007124, allocations: 0 / 0.6238 GB, free: 7.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.102e-05/0.007165, allocations: 11.98 kB / 0.6238 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.0072, allocations: 7.984 kB / 0.6238 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.007205, allocations: 0 / 0.6238 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.492e-05/0.00724, allocations: 95.27 kB / 0.6239 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00724, allocations: 0 / 0.6239 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001763/0.007417, allocations: 28 kB / 0.6239 GB, free: 7.348 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 (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.0003848/0.007802, allocations: 0.7513 MB / 0.6246 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.008036, allocations: 185 kB / 0.6248 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.008038, allocations: 7.938 kB / 0.6248 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.381e-05/0.008102, allocations: 40.22 kB / 0.6249 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.008285, allocations: 11.94 kB / 0.6249 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.009593, allocations: 1.802 MB / 0.6266 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.151e-05/0.009645, allocations: 79.33 kB / 0.6267 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.892e-05/0.009673, allocations: 7.984 kB / 0.6267 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.009714, allocations: 20.5 kB / 0.6267 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.009714, allocations: 0 / 0.6267 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.02726, allocations: 3.326 MB / 0.63 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.773/6.8, allocations: 8.922 kB / 0.63 GB, free: 1.098 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_Edge.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.474696443416178] Failed to read output from testmodel.py, exit status != 0: 6.882178297266364 6.891639328 6.88616141 Calling exit ...