Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.00126/0.00126, 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.00103/0.00103, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9017/0.9017, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7032/0.7032, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.FallingEdge,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 0.6181 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.762e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001569/0.001597, allocations: 0.7254 MB / 0.6188 GB, free: 12.81 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.00268, allocations: 1.182 MB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.002723, allocations: 0 / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.002751, allocations: 3.938 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.769e-05/0.002819, allocations: 15.86 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.003243, allocations: 130.5 kB / 0.6201 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.003389, allocations: 119.7 kB / 0.6202 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.00349, allocations: 15.98 kB / 0.6202 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.003604, allocations: 71.81 kB / 0.6203 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.887e-05/0.003683, allocations: 39.88 kB / 0.6203 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.003705, allocations: 12 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.492e-05/0.00376, allocations: 23.98 kB / 0.6204 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.003783, allocations: 11.98 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.003829, allocations: 35.91 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.003987, allocations: 131.6 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.00399, allocations: 3.938 kB / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.003991, allocations: 0 / 0.6206 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.003995, allocations: 8 kB / 0.6206 GB, free: 11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004462/0.004441, allocations: 335.8 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.004474, allocations: 8.031 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.726e-05/0.004501, allocations: 34.75 kB / 0.6209 GB, free: 10.59 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.359e-05/0.004535, allocations: 8.891 kB / 0.6209 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.735e-05/0.004602, allocations: 109.8 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.004615, allocations: 8.375 kB / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.00463, allocations: 12.31 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.004752, allocations: 66.2 kB / 0.6211 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.004758, allocations: 4.188 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.004767, allocations: 4.375 kB / 0.6211 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.004772, allocations: 4.125 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/0.004866, allocations: 43.95 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.005225, allocations: 287.8 kB / 0.6215 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.005341, allocations: 54.61 kB / 0.6215 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.005397, allocations: 32.91 kB / 0.6215 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.005406, allocations: 0 / 0.6215 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.005562, allocations: 91.36 kB / 0.6216 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.344e-06/0.005565, allocations: 7.922 kB / 0.6216 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002681/0.005833, allocations: 141.6 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.005866, allocations: 55.39 kB / 0.6218 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.87e-05/0.005934, allocations: 125.7 kB / 0.6219 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.005953, allocations: 33.7 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.005997, allocations: 92.12 kB / 0.6221 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.006013, allocations: 15.91 kB / 0.6221 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.006062, allocations: 37.7 kB / 0.6221 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.744e-05/0.006139, allocations: 322.8 kB / 0.6224 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.006242, allocations: 77.66 kB / 0.6225 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001096/0.006351, allocations: 124.8 kB / 0.6226 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.006496, allocations: 137.9 kB / 0.6227 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006498, allocations: 0 / 0.6227 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002464/0.006744, allocations: 248.8 kB / 0.623 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.006769, allocations: 33.69 kB / 0.623 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.006774, allocations: 8.125 kB / 0.623 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.006783, allocations: 0 / 0.623 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.522e-05/0.006839, allocations: 15.92 kB / 0.623 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.006845, allocations: 4 kB / 0.623 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.89e-05/0.006944, allocations: 43.84 kB / 0.6231 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.006956, allocations: 4 kB / 0.6231 GB, free: 8.156 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,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,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.696e-05/0.007023, allocations: 120.9 kB / 0.6232 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-06/0.007032, allocations: 19.83 kB / 0.6232 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.007054, allocations: 12.42 kB / 0.6232 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.007057, allocations: 4 kB / 0.6232 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.00706, allocations: 0 / 0.6232 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.007063, allocations: 0 / 0.6232 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.007352, allocations: 353.9 kB / 0.6236 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007353, allocations: 0 / 0.6236 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.007378, allocations: 7.984 kB / 0.6236 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.00738, allocations: 0 / 0.6236 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.007387, allocations: 8 kB / 0.6236 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.007389, allocations: 7.938 kB / 0.6236 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007389, allocations: 0 / 0.6236 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.007545, allocations: 207.3 kB / 0.6238 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.175e-06/0.007553, allocations: 11.94 kB / 0.6238 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.007564, allocations: 0 / 0.6238 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.173e-05/0.007606, allocations: 8 kB / 0.6238 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.007641, allocations: 7.984 kB / 0.6238 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.00765, allocations: 11.98 kB / 0.6238 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.172e-05/0.007682, allocations: 91 kB / 0.6239 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.007682, allocations: 0 / 0.6239 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001805/0.007862, allocations: 27.94 kB / 0.6239 GB, free: 7.203 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0003456/0.008208, allocations: 0.7474 MB / 0.6247 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.008444, allocations: 193 kB / 0.6249 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.008445, allocations: 0 / 0.6249 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/0.008503, allocations: 35.97 kB / 0.6249 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.008681, allocations: 18.02 kB / 0.6249 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.00998, allocations: 1.811 MB / 0.6267 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.01002, allocations: 75.27 kB / 0.6267 GB, free: 4.129 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.466e-05/0.01005, allocations: 4 kB / 0.6268 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.01008, allocations: 20.48 kB / 0.6268 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.01009, allocations: 3.938 kB / 0.6268 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01549/0.02557, allocations: 3.353 MB / 0.63 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.712, allocations: 6.578 kB / 0.6301 GB, free: 0.9336 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.34434054698795] Failed to read output from testmodel.py, exit status != 0: 6.792220441624522 6.801687992 6.795554831 Calling exit ...