Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007125/0.0007125, 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.0007284/0.0007284, 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.8824/0.8824, 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.7126/0.7126, allocations: 155 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.FallingEdge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.0009717/0.0009717, allocations: 65.25 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.4602/0.4612, allocations: 102 MB / 0.7183 GB, free: 23.12 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001665/0.4629, allocations: 0.7147 MB / 0.719 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.4642, allocations: 1.18 MB / 0.7201 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.728e-05/0.4643, allocations: 0 / 0.7201 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.318e-05/0.4643, allocations: 3.938 kB / 0.7201 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.4644, allocations: 16.23 kB / 0.7201 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004197/0.4648, allocations: 135.7 kB / 0.7203 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.465, allocations: 123.1 kB / 0.7204 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.4651, allocations: 14.67 kB / 0.7204 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.4652, allocations: 64.73 kB / 0.7205 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.4653, allocations: 41.3 kB / 0.7205 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.4653, allocations: 11.31 kB / 0.7205 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.178e-05/0.4654, allocations: 22.56 kB / 0.7205 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.4654, allocations: 17.47 kB / 0.7205 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.4655, allocations: 42.66 kB / 0.7206 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.4657, allocations: 133.7 kB / 0.7207 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4657, allocations: 0 / 0.7207 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4657, allocations: 0 / 0.7207 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.4657, allocations: 1.156 kB / 0.7207 GB, free: 21.55 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004866/0.4662, allocations: 345.7 kB / 0.721 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4662, allocations: 13.72 kB / 0.7211 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.4662, allocations: 35.28 kB / 0.7211 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.4663, allocations: 6.156 kB / 0.7211 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.787e-05/0.4664, allocations: 119.6 kB / 0.7212 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.4664, allocations: 11.69 kB / 0.7212 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.4664, allocations: 8.031 kB / 0.7212 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.4666, allocations: 72.62 kB / 0.7213 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4666, allocations: 3.938 kB / 0.7213 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.4666, allocations: 6.062 kB / 0.7213 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.4666, allocations: 0 / 0.7213 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.4667, allocations: 49.11 kB / 0.7214 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.4672, allocations: 288.4 kB / 0.7216 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.4674, allocations: 52.03 kB / 0.7217 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.678e-05/0.4675, allocations: 35.98 kB / 0.7217 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.4675, allocations: 5.031 kB / 0.7217 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002567/0.4677, allocations: 89.91 kB / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.4677, allocations: 0 / 0.7218 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003141/0.468, allocations: 141.3 kB / 0.7219 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.4681, allocations: 54.5 kB / 0.722 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.59e-05/0.4681, allocations: 120.7 kB / 0.7221 GB, free: 20.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.4682, allocations: 29.81 kB / 0.7221 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.4682, allocations: 97.33 kB / 0.7222 GB, free: 20.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.4682, allocations: 21 kB / 0.7222 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/0.4683, allocations: 37.89 kB / 0.7223 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.633e-05/0.4683, allocations: 323.9 kB / 0.7226 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.4684, allocations: 82.12 kB / 0.7227 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.4685, allocations: 121.3 kB / 0.7228 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.4687, allocations: 143.2 kB / 0.7229 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.4687, allocations: 0 / 0.7229 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002849/0.469, allocations: 245.4 kB / 0.7232 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.469, allocations: 32.55 kB / 0.7232 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.469, allocations: 1.125 kB / 0.7232 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.469, allocations: 6.625 kB / 0.7232 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.4691, allocations: 18.31 kB / 0.7232 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.4691, allocations: 2.984 kB / 0.7232 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.4692, allocations: 34.67 kB / 0.7232 GB, free: 19.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.4693, allocations: 7.625 kB / 0.7233 GB, free: 19.45 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,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.559e-05/0.4693, allocations: 129.7 kB / 0.7234 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.4693, allocations: 3 kB / 0.7234 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.4694, allocations: 11.31 kB / 0.7234 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4694, allocations: 1.719 kB / 0.7234 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4694, allocations: 3.938 kB / 0.7234 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4694, allocations: 0 / 0.7234 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.4697, allocations: 354.3 kB / 0.7237 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4697, allocations: 0.5625 kB / 0.7237 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.4697, allocations: 12.75 kB / 0.7237 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4697, allocations: 0.6562 kB / 0.7237 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.4697, allocations: 9.844 kB / 0.7238 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4697, allocations: 1.406 kB / 0.7238 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4697, allocations: 3.938 kB / 0.7238 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.4699, allocations: 203.2 kB / 0.724 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.4699, allocations: 11.27 kB / 0.724 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.4699, allocations: 6.234 kB / 0.724 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.9e-05/0.47, allocations: 5.422 kB / 0.724 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.47, allocations: 10.59 kB / 0.724 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.4701, allocations: 11.44 kB / 0.724 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.849e-05/0.4701, allocations: 95.84 kB / 0.7241 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-08/0.4701, allocations: 0 / 0.7241 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001819/0.4703, allocations: 24.41 kB / 0.7241 GB, free: 18.73 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 (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.0003377/0.4706, allocations: 0.7482 MB / 0.7248 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.4709, allocations: 195.2 kB / 0.725 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4709, allocations: 0 / 0.725 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.261e-05/0.4709, allocations: 41.3 kB / 0.7251 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.4712, allocations: 12.81 kB / 0.7251 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4724, allocations: 1.8 MB / 0.7268 GB, free: 16.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.494e-05/0.4725, allocations: 72.39 kB / 0.7269 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.14e-05/0.4725, allocations: 9.734 kB / 0.7269 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.4725, allocations: 22.62 kB / 0.7269 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of SimCode: time 7.51e-07/0.4725, allocations: 0 / 0.7269 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01879/0.4913, allocations: 3.373 MB / 0.7302 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.516/7.007, allocations: 8.859 kB / 0.7302 GB, free: 15.24 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.660403264919296] Failed to read output from testmodel.py, exit status != 0: 7.0868635040242225 7.099341332 6.630682737 Calling exit ...