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.0006767/0.0006767, allocations: 76.45 kB / 19.9 MB, free: 12 kB / 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.0007631/0.0007631, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9724/0.9724, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7085/0.7085, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge") [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.000899/0.000899, allocations: 71.89 kB / 0.6196 GB, free: 13.11 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5397/0.5406, allocations: 101.9 MB / 0.7191 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001726/0.5423, allocations: 0.7256 MB / 0.7198 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.544, allocations: 1.173 MB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.5441, allocations: 1.219 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.525e-05/0.5441, allocations: 7.938 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.53e-05/0.5442, allocations: 7.344 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.5448, allocations: 144.1 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.545, allocations: 121.6 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.5451, allocations: 10.34 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.5453, allocations: 73.09 kB / 0.7213 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.5454, allocations: 33.33 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.5455, allocations: 13.94 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.068e-05/0.5456, allocations: 27.19 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.5456, allocations: 13.91 kB / 0.7214 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 8.662e-05/0.5457, allocations: 33.59 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.546, allocations: 114.6 kB / 0.7215 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.546, allocations: 6.359 kB / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.404e-06/0.546, allocations: 0 / 0.7215 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.546, allocations: 0 / 0.7215 GB, free: 22.1 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.0004988/0.5465, allocations: 332.9 kB / 0.7219 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.5465, allocations: 8.656 kB / 0.7219 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.5466, allocations: 15.39 kB / 0.7219 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.266e-05/0.5466, allocations: 119.1 kB / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.5467, allocations: 8.875 kB / 0.722 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.5467, allocations: 10.48 kB / 0.722 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.5468, allocations: 62.81 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.5468, allocations: 1.188 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.5469, allocations: 4.734 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5469, allocations: 0.9688 kB / 0.7221 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.547, allocations: 46.48 kB / 0.7221 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.5475, allocations: 264.6 kB / 0.7224 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.5476, allocations: 52.47 kB / 0.7224 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.679e-05/0.5477, allocations: 37.42 kB / 0.7225 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.5477, allocations: 1.312 kB / 0.7225 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.548, allocations: 92.17 kB / 0.7226 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.548, allocations: 5.125 kB / 0.7226 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003534/0.5483, allocations: 141.6 kB / 0.7227 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.5484, allocations: 53.14 kB / 0.7227 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.5484, allocations: 117.5 kB / 0.7229 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.5485, allocations: 29.53 kB / 0.7229 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.325e-05/0.5485, allocations: 90.19 kB / 0.723 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.5485, allocations: 24.59 kB / 0.723 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.5486, allocations: 37.86 kB / 0.723 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.5486, allocations: 323.7 kB / 0.7233 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.5488, allocations: 86.19 kB / 0.7234 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.5489, allocations: 113.2 kB / 0.7235 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.5491, allocations: 143.1 kB / 0.7237 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5491, allocations: 4 kB / 0.7237 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000347/0.5495, allocations: 242.5 kB / 0.7239 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.5495, allocations: 34.66 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5495, allocations: 5.031 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5495, allocations: 1.406 kB / 0.7239 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.5496, allocations: 17.62 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.5496, allocations: 1.469 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.5497, allocations: 37.38 kB / 0.724 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.5498, allocations: 11.92 kB / 0.724 GB, free: 20.08 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 6.669e-05/0.5498, allocations: 134.2 kB / 0.7241 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.5498, allocations: 7.266 kB / 0.7241 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.5499, allocations: 7.156 kB / 0.7241 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5499, allocations: 0.9688 kB / 0.7241 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5499, allocations: 1.156 kB / 0.7241 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5499, allocations: 8.781 kB / 0.7242 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.5502, allocations: 314.7 kB / 0.7245 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5502, allocations: 0 / 0.7245 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.5502, allocations: 12.77 kB / 0.7245 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5502, allocations: 1.188 kB / 0.7245 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.5502, allocations: 4.5 kB / 0.7245 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5502, allocations: 1.812 kB / 0.7245 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5502, allocations: 0 / 0.7245 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.5504, allocations: 214.5 kB / 0.7247 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.5504, allocations: 11.3 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.543e-05/0.5504, allocations: 1.062 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.168e-05/0.5505, allocations: 11.62 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.5505, allocations: 5.406 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.5506, allocations: 3.562 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.5506, allocations: 93.39 kB / 0.7248 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5506, allocations: 0 / 0.7248 GB, free: 19.42 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001851/0.5508, allocations: 25.72 kB / 0.7248 GB, free: 19.41 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.0001317/0.5509, allocations: 113.3 kB / 0.7249 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002795/0.5512, allocations: 195.8 kB / 0.7251 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5512, allocations: 0 / 0.7251 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.78e-05/0.5513, allocations: 32.89 kB / 0.7252 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.5515, allocations: 21.75 kB / 0.7252 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.5519, allocations: 170.2 kB / 0.7253 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.587e-05/0.5519, allocations: 75.77 kB / 0.7254 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.552, allocations: 8.422 kB / 0.7254 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.922e-05/0.552, allocations: 13.06 kB / 0.7254 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.552, allocations: 0 / 0.7254 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of Templates: time 0.004796/0.5568, allocations: 1.573 MB / 0.727 GB, free: 18.76 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.36482501309365] Failed to read output from testmodel.py, exit status != 0: 0.5629310669610277 0.574519019 0.026325261000000003 Calling exit ...