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.0008424/0.0008424, 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.0009716/0.0009716, 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.9215/0.9215, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7275/0.7275, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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 1.803e-06/1.803e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.184e-05, allocations: 5.234 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.0012/0.001222, allocations: 0.7142 MB / 0.6188 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.002284, allocations: 1.186 MB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.002334, allocations: 0 / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.002363, allocations: 3.938 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.804e-05/0.002431, allocations: 7.922 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.002834, allocations: 146.2 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.00299, allocations: 127.7 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.168e-05/0.003082, allocations: 11.98 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.003188, allocations: 67.88 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.003265, allocations: 31.95 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.003288, allocations: 8 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.232e-05/0.00334, allocations: 19.98 kB / 0.6204 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.003364, allocations: 19.91 kB / 0.6204 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.003412, allocations: 27.98 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.00357, allocations: 131.6 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.003571, allocations: 4 kB / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.81e-07/0.003572, allocations: 0 / 0.6205 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003576, allocations: 4 kB / 0.6206 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.0004442/0.00402, allocations: 335.8 kB / 0.6209 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.004057, allocations: 8.031 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.462e-05/0.004082, allocations: 30.75 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.004118, allocations: 16.88 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.471e-05/0.004193, allocations: 113.7 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.004206, allocations: 4.375 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.004222, allocations: 4.375 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.004358, allocations: 70.22 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.004366, allocations: 192 / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.004376, allocations: 384 / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.004381, allocations: 8.062 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.004481, allocations: 47.94 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.004855, allocations: 279.8 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.004982, allocations: 58.61 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.005037, allocations: 32.95 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.005047, allocations: 3.938 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.005202, allocations: 91.3 kB / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.005204, allocations: 0 / 0.6216 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002863/0.00549, allocations: 141.6 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.671e-05/0.005527, allocations: 59.41 kB / 0.6218 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/0.0056, allocations: 117.8 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.005622, allocations: 33.7 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.00567, allocations: 92.09 kB / 0.622 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.005684, allocations: 15.89 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.005736, allocations: 37.7 kB / 0.6221 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/0.005817, allocations: 318.8 kB / 0.6224 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.005935, allocations: 81.67 kB / 0.6225 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.006047, allocations: 121.9 kB / 0.6226 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.006201, allocations: 145.8 kB / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006203, allocations: 0 / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002627/0.006466, allocations: 244.9 kB / 0.623 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.006497, allocations: 43.72 kB / 0.623 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.006502, allocations: 4 kB / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.006513, allocations: 0 / 0.623 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.006569, allocations: 15.92 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.006575, allocations: 0 / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.87e-05/0.006673, allocations: 31.97 kB / 0.623 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.006688, allocations: 11.98 kB / 0.6231 GB, free: 8.309 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 6.712e-05/0.006755, allocations: 130.7 kB / 0.6232 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-06/0.006765, allocations: 15.88 kB / 0.6232 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.006787, allocations: 8.438 kB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006789, allocations: 3.938 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.006793, allocations: 4.062 kB / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.006799, allocations: 7.984 kB / 0.6232 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002872/0.007086, allocations: 341.8 kB / 0.6235 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007087, allocations: 0 / 0.6235 GB, free: 7.746 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/0.007114, allocations: 15.98 kB / 0.6236 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.007115, allocations: 3.938 kB / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.007122, allocations: 0 / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.007123, allocations: 0 / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.007124, allocations: 80 / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.007278, allocations: 207.4 kB / 0.6238 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.007285, allocations: 7.953 kB / 0.6238 GB, free: 7.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.007298, allocations: 4 kB / 0.6238 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.007339, allocations: 11.98 kB / 0.6238 GB, free: 7.484 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.007372, allocations: 7.984 kB / 0.6238 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-06/0.007377, allocations: 0 / 0.6238 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.007411, allocations: 95.27 kB / 0.6239 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007411, allocations: 0 / 0.6239 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001656/0.007576, allocations: 24 kB / 0.6239 GB, free: 7.359 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.0006169/0.008193, allocations: 0.7474 MB / 0.6246 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.008424, allocations: 197 kB / 0.6248 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.008426, allocations: 0 / 0.6248 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.021e-05/0.008486, allocations: 39.91 kB / 0.6249 GB, free: 6.336 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.008673, allocations: 8 kB / 0.6249 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.009979, allocations: 1.817 MB / 0.6266 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/0.01003, allocations: 71.33 kB / 0.6267 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.571e-05/0.01005, allocations: 7.984 kB / 0.6267 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.01009, allocations: 20.5 kB / 0.6267 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.01009, allocations: 4 kB / 0.6267 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.02457, allocations: 3.328 MB / 0.63 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/6.905, allocations: 8.156 kB / 0.63 GB, free: 1.109 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.75938823260367] Failed to read output from testmodel.py, exit status != 0: 6.995228105224669 7.008113686 7.002822379 Calling exit ...