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.0008069/0.0008069, allocations: 113.9 kB / 18.94 MB, free: 1.27 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.0008562/0.0008562, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.966/0.966, allocations: 230.6 MB / 256 MB, free: 9.785 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.03913/0.03913, allocations: 12.18 MB / 324.6 MB, free: 6.258 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.0004544/0.0004544, allocations: 31.89 kB / 384.1 MB, free: 10.66 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.737/1.737, allocations: 353.8 MB / 0.7787 GB, free: 3.078 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.001446/0.001446, allocations: 115.5 kB / 1.06 GB, free: 24.9 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2189, allocations: 134.9 MB / 1.192 GB, free: 7.855 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0016/0.2205, allocations: 0.7323 MB / 1.192 GB, free: 7.125 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.2218, allocations: 1.207 MB / 1.194 GB, free: 5.906 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.2219, allocations: 0 / 1.194 GB, free: 5.906 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.2219, allocations: 7.922 kB / 1.194 GB, free: 5.898 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.284e-05/0.222, allocations: 15.86 kB / 1.194 GB, free: 5.883 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005119/0.2225, allocations: 134.1 kB / 1.194 GB, free: 5.754 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.2227, allocations: 123.7 kB / 1.194 GB, free: 5.633 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.687e-05/0.2228, allocations: 8 kB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.123e-05/0.2229, allocations: 47.91 kB / 1.194 GB, free: 5.578 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.128e-05/0.223, allocations: 51.8 kB / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.223, allocations: 12 kB / 1.194 GB, free: 5.516 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.29e-05/0.223, allocations: 27.92 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.2231, allocations: 8 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.2231, allocations: 43.84 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.2233, allocations: 111.9 kB / 1.194 GB, free: 5.328 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2233, allocations: 4 kB / 1.194 GB, free: 5.324 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2233, allocations: 0 / 1.194 GB, free: 5.324 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2233, allocations: 4 kB / 1.194 GB, free: 5.32 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.0005005/0.2238, allocations: 335.8 kB / 1.195 GB, free: 4.953 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001393/0.2239, allocations: 8.031 kB / 1.195 GB, free: 4.945 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.224, allocations: 46.67 kB / 1.195 GB, free: 4.891 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.224, allocations: 12.89 kB / 1.195 GB, free: 4.879 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.143e-05/0.2241, allocations: 114.4 kB / 1.195 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2241, allocations: 12.3 kB / 1.195 GB, free: 4.73 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.2241, allocations: 16.38 kB / 1.195 GB, free: 4.715 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.2243, allocations: 62.22 kB / 1.195 GB, free: 4.648 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2243, allocations: 7.938 kB / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2243, allocations: 0 / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2243, allocations: 0 / 1.195 GB, free: 4.641 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.812e-05/0.2244, allocations: 43.95 kB / 1.195 GB, free: 4.598 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.2248, allocations: 311.7 kB / 1.195 GB, free: 4.25 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.225, allocations: 54.61 kB / 1.195 GB, free: 4.188 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.225, allocations: 28.95 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.225, allocations: 0 / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.2252, allocations: 95.3 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2252, allocations: 4 kB / 1.195 GB, free: 4.047 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0002706/0.2255, allocations: 133.6 kB / 1.195 GB, free: 3.91 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.2255, allocations: 51.41 kB / 1.196 GB, free: 3.848 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.742e-05/0.2256, allocations: 133.7 kB / 1.196 GB, free: 3.707 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2256, allocations: 37.7 kB / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.2256, allocations: 92.2 kB / 1.196 GB, free: 3.57 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.2256, allocations: 15.83 kB / 1.196 GB, free: 3.555 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.2257, allocations: 37.7 kB / 1.196 GB, free: 3.512 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.2258, allocations: 326.8 kB / 1.196 GB, free: 3.184 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.351e-05/0.2259, allocations: 51.97 kB / 1.196 GB, free: 3.133 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.226, allocations: 96.62 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.2261, allocations: 137.8 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2261, allocations: 4 kB / 1.196 GB, free: 2.863 MB / 0.823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002518/0.2264, allocations: 211.5 kB / 1.197 GB, free: 2.645 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.2264, allocations: 37.69 kB / 1.197 GB, free: 2.602 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.2264, allocations: 4 kB / 1.197 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2264, allocations: 0 / 1.197 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.938e-05/0.2265, allocations: 15.92 kB / 1.197 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2265, allocations: 128 / 1.197 GB, free: 2.582 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2266, allocations: 43.92 kB / 1.197 GB, free: 2.539 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.2266, allocations: 7.984 kB / 1.197 GB, free: 2.531 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 6.832e-05/0.2267, allocations: 121.8 kB / 1.197 GB, free: 2.402 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.2267, allocations: 7.953 kB / 1.197 GB, free: 2.395 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.372e-05/0.2267, allocations: 8.375 kB / 1.197 GB, free: 2.383 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2267, allocations: 0 / 1.197 GB, free: 2.383 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2267, allocations: 7.938 kB / 1.197 GB, free: 2.375 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2267, allocations: 7.984 kB / 1.197 GB, free: 2.367 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.227, allocations: 345.5 kB / 1.197 GB, free: 1.98 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.227, allocations: 0 / 1.197 GB, free: 1.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.227, allocations: 11.98 kB / 1.197 GB, free: 1.969 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.227, allocations: 0 / 1.197 GB, free: 1.969 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.2271, allocations: 8 kB / 1.197 GB, free: 1.961 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.2271, allocations: 4 kB / 1.197 GB, free: 1.957 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2271, allocations: 3.938 kB / 1.197 GB, free: 1.953 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.2272, allocations: 207.4 kB / 1.197 GB, free: 1.734 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-06/0.2272, allocations: 11.94 kB / 1.197 GB, free: 1.723 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.2272, allocations: 4 kB / 1.197 GB, free: 1.719 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.143e-05/0.2273, allocations: 4 kB / 1.197 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.2273, allocations: 11.92 kB / 1.197 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.2273, allocations: 11.98 kB / 1.197 GB, free: 1.691 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.2274, allocations: 91.33 kB / 1.198 GB, free: 1.602 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2274, allocations: 0 / 1.198 GB, free: 1.602 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000169/0.2275, allocations: 20 kB / 1.198 GB, free: 1.582 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.000391/0.2279, allocations: 0.7513 MB / 1.198 GB, free: 0.8047 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.2282, allocations: 163.3 kB / 1.198 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2282, allocations: 0 / 1.198 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.539e-05/0.2282, allocations: 43.89 kB / 1.198 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.2284, allocations: 23.3 kB / 1.199 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.2297, allocations: 1.688 MB / 1.2 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.2299, allocations: 0.6885 MB / 1.201 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 2.858e-05/0.2299, allocations: 4 kB / 1.201 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.23, allocations: 27.42 kB / 1.201 GB, free: 14.02 MB / 0.8387 GB Notification: Performance of SimCode: time 7.12e-07/0.23, allocations: 0 / 1.201 GB, free: 14.02 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.2442, allocations: 2.707 MB / 1.204 GB, free: 11.46 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.368/6.612, allocations: 2.969 kB / 1.204 GB, free: 11.46 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 & python3 -m fmpy simulate --output-file AixLib_AixLib.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 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.138566319830716] Failed to read output from testmodel.py, exit status != 0: 6.688086663372815 6.699785528 6.474688712 Calling exit ...