Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0008439/0.0008439, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0008462/0.0008462, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 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.9304/0.9304, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.0375/0.0375, allocations: 12.2 MB / 324.6 MB, free: 6.098 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005076/0.0005076, allocations: 35.92 kB / 384.1 MB, free: 10.52 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.661/1.661, allocations: 353.8 MB / 0.7787 GB, free: 4.559 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.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(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.001474/0.001474, allocations: 122.7 kB / 1.06 GB, free: 24.93 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2507, allocations: 134.9 MB / 1.192 GB, free: 7.52 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001916/0.2526, allocations: 0.725 MB / 1.192 GB, free: 6.801 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.2542, allocations: 1.191 MB / 1.194 GB, free: 5.598 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.2542, allocations: 0 / 1.194 GB, free: 5.598 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 4.398e-05/0.2543, allocations: 3.938 kB / 1.194 GB, free: 5.594 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2544, allocations: 15.88 kB / 1.194 GB, free: 5.578 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005659/0.255, allocations: 133.6 kB / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.2552, allocations: 123.7 kB / 1.194 GB, free: 5.328 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.2553, allocations: 11.98 kB / 1.194 GB, free: 5.316 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.2554, allocations: 39.92 kB / 1.194 GB, free: 5.277 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.2555, allocations: 43.86 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.2555, allocations: 12 kB / 1.194 GB, free: 5.223 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.837e-05/0.2556, allocations: 23.98 kB / 1.194 GB, free: 5.199 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.2557, allocations: 15.94 kB / 1.194 GB, free: 5.184 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.2557, allocations: 39.84 kB / 1.194 GB, free: 5.145 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.2559, allocations: 111.9 kB / 1.194 GB, free: 5.035 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2559, allocations: 4 kB / 1.194 GB, free: 5.031 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2559, allocations: 0 / 1.194 GB, free: 5.031 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.2559, allocations: 0 / 1.194 GB, free: 5.031 MB / 0.823 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.0005643/0.2565, allocations: 339.7 kB / 1.194 GB, free: 4.66 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.2565, allocations: 12.03 kB / 1.194 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.2566, allocations: 38.73 kB / 1.194 GB, free: 4.602 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.2566, allocations: 8.891 kB / 1.194 GB, free: 4.594 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.97e-05/0.2567, allocations: 122.4 kB / 1.195 GB, free: 4.449 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2567, allocations: 4.375 kB / 1.195 GB, free: 4.445 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2567, allocations: 12.38 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.2569, allocations: 66.22 kB / 1.195 GB, free: 4.363 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2569, allocations: 3.938 kB / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.2569, allocations: 0 / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2569, allocations: 0 / 1.195 GB, free: 4.359 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.257, allocations: 47.89 kB / 1.195 GB, free: 4.312 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.2575, allocations: 291.9 kB / 1.195 GB, free: 3.984 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.2577, allocations: 54.55 kB / 1.195 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.2577, allocations: 28.95 kB / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.2577, allocations: 4 kB / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.258, allocations: 87.36 kB / 1.195 GB, free: 3.789 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.258, allocations: 0 / 1.195 GB, free: 3.789 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0003154/0.2583, allocations: 149.5 kB / 1.195 GB, free: 3.637 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.2583, allocations: 51.41 kB / 1.195 GB, free: 3.574 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.2584, allocations: 129.8 kB / 1.195 GB, free: 3.438 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.2584, allocations: 29.7 kB / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.2585, allocations: 96.2 kB / 1.196 GB, free: 3.305 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.2585, allocations: 15.83 kB / 1.196 GB, free: 3.289 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.2586, allocations: 37.7 kB / 1.196 GB, free: 3.246 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.293e-05/0.2586, allocations: 326.8 kB / 1.196 GB, free: 2.918 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2588, allocations: 85.61 kB / 1.196 GB, free: 2.828 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.2589, allocations: 125.9 kB / 1.196 GB, free: 2.684 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.2591, allocations: 146.2 kB / 1.196 GB, free: 2.52 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2591, allocations: 0 / 1.196 GB, free: 2.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002932/0.2593, allocations: 240.8 kB / 1.197 GB, free: 2.266 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.2594, allocations: 41.69 kB / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2594, allocations: 0 / 1.197 GB, free: 2.219 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2594, allocations: 4 kB / 1.197 GB, free: 2.215 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/0.2595, allocations: 8 kB / 1.197 GB, free: 2.207 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2595, allocations: 7.922 kB / 1.197 GB, free: 2.199 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.2596, allocations: 36.05 kB / 1.197 GB, free: 2.164 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.2596, allocations: 15.98 kB / 1.197 GB, free: 2.148 MB / 0.823 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.405e-05/0.2597, allocations: 121.8 kB / 1.197 GB, free: 2.02 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.2597, allocations: 3.953 kB / 1.197 GB, free: 2.016 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.2597, allocations: 12.38 kB / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2597, allocations: 0 / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2597, allocations: 0 / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2597, allocations: 0 / 1.197 GB, free: 2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.2601, allocations: 353.4 kB / 1.197 GB, free: 1.605 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2601, allocations: 3.984 kB / 1.197 GB, free: 1.602 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/0.2601, allocations: 7.984 kB / 1.197 GB, free: 1.594 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2601, allocations: 4 kB / 1.197 GB, free: 1.59 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2601, allocations: 0 / 1.197 GB, free: 1.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.2602, allocations: 0 / 1.197 GB, free: 1.59 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.2602, allocations: 3.938 kB / 1.197 GB, free: 1.586 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.2604, allocations: 215.4 kB / 1.197 GB, free: 1.359 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.2604, allocations: 7.953 kB / 1.197 GB, free: 1.352 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.2604, allocations: 4 kB / 1.197 GB, free: 1.348 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.079e-05/0.2604, allocations: 11.98 kB / 1.197 GB, free: 1.336 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.2605, allocations: 7.922 kB / 1.197 GB, free: 1.328 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.2605, allocations: 4 kB / 1.197 GB, free: 1.324 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.663e-05/0.2605, allocations: 95.2 kB / 1.197 GB, free: 1.23 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2605, allocations: 0 / 1.197 GB, free: 1.23 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002024/0.2607, allocations: 24 kB / 1.197 GB, free: 1.207 MB / 0.823 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.0004877/0.2612, allocations: 0.7475 MB / 1.198 GB, free: 444 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002879/0.2615, allocations: 193 kB / 1.198 GB, free: 232 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2615, allocations: 0 / 1.198 GB, free: 232 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.2616, allocations: 39.95 kB / 1.198 GB, free: 192 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.2618, allocations: 20.12 kB / 1.198 GB, free: 172 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.2635, allocations: 1.822 MB / 1.2 GB, free: 14.21 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.165e-05/0.2636, allocations: 71.33 kB / 1.2 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.2636, allocations: 8 kB / 1.2 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/0.2637, allocations: 23.42 kB / 1.2 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of SimCode: time 6.32e-07/0.2637, allocations: 0 / 1.2 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.2837, allocations: 3.219 MB / 1.203 GB, free: 11.03 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.52/6.803, allocations: 5.094 kB / 1.203 GB, free: 11.03 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > AixLib_AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.207750043831766] Failed to read output from testmodel.py, exit status != 0: 6.881012611091137 6.892154706 6.632736337 Calling exit ...