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.0007909/0.0007909, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00084/0.00084, allocations: 165.9 kB / 22.46 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.9572/0.9572, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7336/0.7336, allocations: 154.6 MB / 413.7 MB, free: 0.7969 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.557e-06/3.557e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.165e-05/2.521e-05, allocations: 6 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002036/0.002061, allocations: 0.7268 MB / 0.6188 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.00359, allocations: 1.174 MB / 0.62 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.003643, allocations: 8 kB / 0.62 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.003677, allocations: 7.875 kB / 0.62 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.748e-05/0.003754, allocations: 19.84 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.004254, allocations: 130.2 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.004435, allocations: 119.7 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.004557, allocations: 15.98 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.004672, allocations: 59.95 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.583e-05/0.004767, allocations: 43.86 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.004793, allocations: 12 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.358e-05/0.004856, allocations: 16 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.108e-05/0.004888, allocations: 19.91 kB / 0.6204 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.00495, allocations: 31.97 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.005172, allocations: 139.6 kB / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.005177, allocations: 0 / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.755e-06/0.00518, allocations: 0 / 0.6206 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.005186, allocations: 0 / 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006524/0.005839, allocations: 335.8 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.005888, allocations: 8.031 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.005924, allocations: 42.75 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.00597, allocations: 8.891 kB / 0.6209 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.006072, allocations: 113.7 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.006088, allocations: 4.375 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.006112, allocations: 12.38 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.006299, allocations: 66.22 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.006308, allocations: 8.062 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.00632, allocations: 384 / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.006327, allocations: 4.125 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.006434, allocations: 47.95 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.00687, allocations: 283.9 kB / 0.6215 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.007001, allocations: 58.55 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.007054, allocations: 28.91 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.007067, allocations: 4 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.007266, allocations: 91.3 kB / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.007268, allocations: 0 / 0.6216 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003109/0.007579, allocations: 145.6 kB / 0.6218 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.007616, allocations: 59.38 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.007694, allocations: 121.8 kB / 0.6219 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.007716, allocations: 33.7 kB / 0.622 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.007763, allocations: 92.12 kB / 0.6221 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.00778, allocations: 11.84 kB / 0.6221 GB, free: 9.406 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.007832, allocations: 41.7 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.007914, allocations: 322.8 kB / 0.6224 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.008028, allocations: 81.66 kB / 0.6225 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.00814, allocations: 118 kB / 0.6226 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.008303, allocations: 141.9 kB / 0.6227 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.008305, allocations: 0 / 0.6227 GB, free: 8.652 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002718/0.008577, allocations: 240.8 kB / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.008617, allocations: 43.72 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.008624, allocations: 0 / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.008641, allocations: 7.984 kB / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.544e-05/0.008707, allocations: 11.92 kB / 0.623 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.008714, allocations: 8.125 kB / 0.623 GB, free: 8.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.008826, allocations: 39.84 kB / 0.6231 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.008843, allocations: 12.31 kB / 0.6231 GB, free: 8.273 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.716e-05/0.00892, allocations: 117.2 kB / 0.6232 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.008931, allocations: 11.89 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/0.008956, allocations: 16.42 kB / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.008959, allocations: 0 / 0.6232 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.008963, allocations: 4 kB / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008967, allocations: 0 / 0.6232 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.009292, allocations: 349.5 kB / 0.6236 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.009295, allocations: 4.062 kB / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.009324, allocations: 7.984 kB / 0.6236 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.009327, allocations: 0 / 0.6236 GB, free: 7.715 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.009336, allocations: 4 kB / 0.6236 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.009338, allocations: 0 / 0.6236 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.009339, allocations: 0 / 0.6236 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.00951, allocations: 223.3 kB / 0.6238 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-06/0.00952, allocations: 7.891 kB / 0.6238 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.009545, allocations: 7.984 kB / 0.6238 GB, free: 7.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.559e-05/0.00959, allocations: 4 kB / 0.6238 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.009627, allocations: 7.984 kB / 0.6238 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.009634, allocations: 4 kB / 0.6238 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.00967, allocations: 94.98 kB / 0.6239 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8e-08/0.00967, allocations: 3.938 kB / 0.6239 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001884/0.009858, allocations: 20 kB / 0.6239 GB, free: 7.332 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.0004264/0.01028, allocations: 0.7544 MB / 0.6247 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.01055, allocations: 193 kB / 0.6249 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.01055, allocations: 0 / 0.6249 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 6.71e-05/0.01062, allocations: 44.22 kB / 0.6249 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.01084, allocations: 7.984 kB / 0.6249 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.01237, allocations: 1.81 MB / 0.6267 GB, free: 4.348 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.039e-05/0.01243, allocations: 83.27 kB / 0.6268 GB, free: 4.246 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.01246, allocations: 4 kB / 0.6268 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.01251, allocations: 24.48 kB / 0.6268 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of SimCode: time 1.313e-06/0.01252, allocations: 0 / 0.6268 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.03008, allocations: 3.331 MB / 0.63 GB, free: 1.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.934/6.964, allocations: 6.438 kB / 0.63 GB, free: 1.066 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 & python3 -m fmpy simulate --output-file IDEAS_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_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.806466300040483] Failed to read output from testmodel.py, exit status != 0: 7.047521925531328 7.059137149 7.051944066 Calling exit ...