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.001045/0.001045, 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.001013/0.001013, 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.9502/0.9502, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.7376/0.7376, allocations: 154.6 MB / 413.7 MB, free: 0.8398 MB / 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: Performance of FrontEnd - loaded program: time 2.494e-06/2.494e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.674e-05, allocations: 2.281 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001422/0.001449, allocations: 0.7347 MB / 0.6188 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.002591, allocations: 1.178 MB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.002638, allocations: 0 / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.002667, allocations: 7.875 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/0.002732, allocations: 11.92 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.003129, allocations: 142.6 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.003277, allocations: 123.7 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.003368, allocations: 7.984 kB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.003483, allocations: 67.89 kB / 0.6203 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.003562, allocations: 35.88 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.003582, allocations: 8 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.637e-05/0.003639, allocations: 27.98 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.29e-05/0.003661, allocations: 11.97 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.003714, allocations: 35.92 kB / 0.6204 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.00391, allocations: 135.6 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003912, allocations: 0 / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.563e-06/0.003913, allocations: 0 / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.003918, allocations: 0 / 0.6205 GB, free: 11.23 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.0005684/0.004486, allocations: 335.8 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.00453, allocations: 13.47 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.004566, allocations: 34.73 kB / 0.6209 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.004608, allocations: 8.891 kB / 0.6209 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.004721, allocations: 124.4 kB / 0.621 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.00474, allocations: 4.375 kB / 0.621 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.004764, allocations: 8.375 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.004922, allocations: 66.22 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.00493, allocations: 192 / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.004938, allocations: 384 / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.004945, allocations: 4.125 kB / 0.6211 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.005048, allocations: 43.95 kB / 0.6211 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.005459, allocations: 295.8 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.005581, allocations: 50.61 kB / 0.6214 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.005636, allocations: 36.89 kB / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.005645, allocations: 4 kB / 0.6215 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.005801, allocations: 87.3 kB / 0.6216 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 9.51e-07/0.005802, allocations: 0 / 0.6216 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002714/0.006074, allocations: 141.7 kB / 0.6217 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.006111, allocations: 55.39 kB / 0.6218 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/0.006187, allocations: 133.7 kB / 0.6219 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.006209, allocations: 29.7 kB / 0.6219 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.006254, allocations: 92.08 kB / 0.622 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.006271, allocations: 15.84 kB / 0.622 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.006324, allocations: 41.69 kB / 0.6221 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.00641, allocations: 318.8 kB / 0.6224 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.006519, allocations: 85.66 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.006631, allocations: 117.9 kB / 0.6226 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.006787, allocations: 142.2 kB / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.006788, allocations: 0 / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002665/0.007055, allocations: 248.8 kB / 0.6229 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.007089, allocations: 37.69 kB / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007094, allocations: 0 / 0.623 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.007105, allocations: 7.938 kB / 0.623 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.783e-05/0.007163, allocations: 12 kB / 0.623 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.007169, allocations: 3.984 kB / 0.623 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.007273, allocations: 36.05 kB / 0.623 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.007287, allocations: 11.98 kB / 0.623 GB, free: 8.371 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 7.007e-05/0.007358, allocations: 125.6 kB / 0.6232 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-06/0.007366, allocations: 11.83 kB / 0.6232 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.007388, allocations: 8.438 kB / 0.6232 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.00739, allocations: 0 / 0.6232 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.007394, allocations: 0 / 0.6232 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.007398, allocations: 0 / 0.6232 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002899/0.007688, allocations: 349.6 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.007691, allocations: 4.062 kB / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.007718, allocations: 11.92 kB / 0.6235 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.00772, allocations: 4 kB / 0.6235 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.007728, allocations: 0 / 0.6235 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.007729, allocations: 3.938 kB / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00773, allocations: 0 / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.007895, allocations: 219.4 kB / 0.6237 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-06/0.007903, allocations: 11.89 kB / 0.6237 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.007918, allocations: 8 kB / 0.6238 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.333e-05/0.007961, allocations: 7.984 kB / 0.6238 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.007996, allocations: 3.984 kB / 0.6238 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.008002, allocations: 4 kB / 0.6238 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.737e-05/0.008069, allocations: 91.27 kB / 0.6239 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.7e-07/0.00807, allocations: 0 / 0.6239 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001839/0.008253, allocations: 24 kB / 0.6239 GB, free: 7.426 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.0004305/0.008684, allocations: 0.7514 MB / 0.6246 GB, free: 6.648 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.008926, allocations: 193 kB / 0.6248 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.008927, allocations: 0 / 0.6248 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.378e-05/0.009, allocations: 39.91 kB / 0.6248 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.009192, allocations: 14.59 kB / 0.6249 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.01054, allocations: 1.812 MB / 0.6266 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.408e-05/0.0106, allocations: 71.34 kB / 0.6267 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.01063, allocations: 15.92 kB / 0.6267 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.01066, allocations: 20.5 kB / 0.6267 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of SimCode: time 8.42e-07/0.01066, allocations: 0 / 0.6267 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.031, allocations: 3.329 MB / 0.63 GB, free: 1.164 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.88/6.911, allocations: 10.25 kB / 0.63 GB, free: 1.16 MB / 0.5886 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.829370807856321] Failed to read output from testmodel.py, exit status != 0: 6.993498655036092 7.004395767 6.998775921 Calling exit ...