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.0009126/0.0009126, 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.001223/0.001223, 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.9192/0.9192, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.752/0.752, allocations: 154.6 MB / 413.7 MB, free: 0.7969 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 3.818e-06/3.818e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.937e-05, allocations: 9.375 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001839/0.001868, allocations: 0.7179 MB / 0.6188 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.003398, allocations: 1.182 MB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.003457, allocations: 0 / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.003487, allocations: 3.938 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.583e-05/0.003563, allocations: 15.86 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.003992, allocations: 134.5 kB / 0.6201 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.004147, allocations: 131.7 kB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.738e-05/0.004245, allocations: 8 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.004366, allocations: 67.88 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.059e-05/0.004457, allocations: 39.88 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.00449, allocations: 12 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.879e-05/0.004549, allocations: 19.98 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.004573, allocations: 7.984 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.004629, allocations: 39.91 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.004828, allocations: 131.6 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.004831, allocations: 0 / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.623e-06/0.004833, allocations: 4 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.004838, allocations: 0 / 0.6205 GB, free: 11.21 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.0006075/0.005445, allocations: 335.8 kB / 0.6208 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.005498, allocations: 13.47 kB / 0.6208 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.005537, allocations: 34.75 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.715e-05/0.005584, allocations: 8.891 kB / 0.6209 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.005686, allocations: 121.7 kB / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.0057, allocations: 384 / 0.621 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.005718, allocations: 12.38 kB / 0.621 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.005895, allocations: 78.19 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.005904, allocations: 192 / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.005916, allocations: 384 / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.005923, allocations: 4.125 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.006039, allocations: 47.95 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.006581, allocations: 283.8 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.006742, allocations: 50.61 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.006806, allocations: 36.91 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.006821, allocations: 0 / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.007037, allocations: 87.3 kB / 0.6216 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.007039, allocations: 0 / 0.6216 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0003123/0.007351, allocations: 149.6 kB / 0.6217 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.00739, allocations: 55.41 kB / 0.6218 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.007462, allocations: 125.7 kB / 0.6219 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.007482, allocations: 29.7 kB / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.007538, allocations: 100.1 kB / 0.622 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.007555, allocations: 15.84 kB / 0.622 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.386e-05/0.007609, allocations: 37.7 kB / 0.6221 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.007701, allocations: 322.8 kB / 0.6224 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.007866, allocations: 85.66 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.008003, allocations: 114 kB / 0.6226 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.008176, allocations: 142.2 kB / 0.6227 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.00818, allocations: 0 / 0.6227 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003038/0.008483, allocations: 248.8 kB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.008522, allocations: 45.81 kB / 0.623 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.008528, allocations: 0 / 0.623 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.008547, allocations: 4 kB / 0.623 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.008619, allocations: 11.98 kB / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.008625, allocations: 0 / 0.623 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.008733, allocations: 35.91 kB / 0.623 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.00875, allocations: 12 kB / 0.623 GB, free: 8.352 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 8.516e-05/0.008835, allocations: 129.2 kB / 0.6232 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.008845, allocations: 11.89 kB / 0.6232 GB, free: 8.207 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.62e-05/0.008871, allocations: 12.42 kB / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.008874, allocations: 0 / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.008878, allocations: 0 / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.008882, allocations: 0 / 0.6232 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.009198, allocations: 337.6 kB / 0.6235 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.0092, allocations: 7.938 kB / 0.6235 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.009227, allocations: 11.98 kB / 0.6235 GB, free: 7.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.009229, allocations: 4 kB / 0.6235 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.009236, allocations: 0 / 0.6235 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.009237, allocations: 3.938 kB / 0.6235 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.009238, allocations: 0 / 0.6235 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.009409, allocations: 215.4 kB / 0.6237 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.009422, allocations: 15.88 kB / 0.6237 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.009435, allocations: 0 / 0.6237 GB, free: 7.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.61e-05/0.009481, allocations: 7.984 kB / 0.6238 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.009536, allocations: 8 kB / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.009544, allocations: 7.984 kB / 0.6238 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.009584, allocations: 87.28 kB / 0.6239 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009584, allocations: 3.938 kB / 0.6239 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001876/0.009771, allocations: 27.98 kB / 0.6239 GB, free: 7.402 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.0004744/0.01025, allocations: 0.7397 MB / 0.6246 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.01053, allocations: 193 kB / 0.6248 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01054, allocations: 4 kB / 0.6248 GB, free: 6.426 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.367e-05/0.01061, allocations: 39.91 kB / 0.6248 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.01083, allocations: 15.33 kB / 0.6248 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.01232, allocations: 1.808 MB / 0.6266 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.319e-05/0.01238, allocations: 79.27 kB / 0.6267 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.01241, allocations: 7.938 kB / 0.6267 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.01246, allocations: 28.47 kB / 0.6267 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.01246, allocations: 0 / 0.6267 GB, free: 4.297 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.03129, allocations: 3.34 MB / 0.63 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/6.946, allocations: 11.94 kB / 0.63 GB, free: 1.129 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 & /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.717319704592228] Failed to read output from testmodel.py, exit status != 0: 7.028090449050069 7.037694066 7.031027634 Calling exit ...