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.0009537/0.0009537, allocations: 109.9 kB / 18.93 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.0009622/0.0009622, allocations: 214.6 kB / 22.26 MB, free: 3.852 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.9542/0.9542, allocations: 230.6 MB / 256 MB, free: 3.465 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.03863/0.03863, allocations: 12.2 MB / 324.6 MB, free: 3.414 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.0004559/0.0004559, allocations: 23.97 kB / 384.1 MB, free: 45.79 MB / 298.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.684/1.684, allocations: 353.8 MB / 0.7787 GB, free: 13.07 MB / 0.5262 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.001391/0.001391, allocations: 119.5 kB / 1.06 GB, free: 9.93 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2606, allocations: 134.9 MB / 1.192 GB, free: 3.109 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001629/0.2623, allocations: 0.7414 MB / 1.192 GB, free: 2.375 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2634, allocations: 1.206 MB / 1.194 GB, free: 1.156 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.2635, allocations: 4 kB / 1.194 GB, free: 1.152 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 8.173e-05/0.2636, allocations: 7.875 kB / 1.194 GB, free: 1.145 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.389e-05/0.2637, allocations: 11.86 kB / 1.194 GB, free: 1.133 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.2641, allocations: 134.4 kB / 1.194 GB, free: 1.004 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.2642, allocations: 123.7 kB / 1.194 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.2643, allocations: 8 kB / 1.194 GB, free: 0.875 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.812e-05/0.2644, allocations: 47.91 kB / 1.194 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.52e-05/0.2645, allocations: 51.8 kB / 1.194 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2645, allocations: 16 kB / 1.194 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.789e-05/0.2646, allocations: 23.98 kB / 1.194 GB, free: 0.7383 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.2646, allocations: 8 kB / 1.194 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 9.577e-05/0.2647, allocations: 43.84 kB / 1.194 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.2649, allocations: 119.8 kB / 1.194 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2649, allocations: 3.984 kB / 1.194 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2649, allocations: 0 / 1.194 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.2649, allocations: 0 / 1.194 GB, free: 0.5664 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.0004703/0.2654, allocations: 339.8 kB / 1.195 GB, free: 200 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2654, allocations: 15.98 kB / 1.195 GB, free: 184 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.408e-05/0.2654, allocations: 34.75 kB / 1.195 GB, free: 140 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.2655, allocations: 12.89 kB / 1.195 GB, free: 128 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.238e-05/0.2655, allocations: 119.2 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.2656, allocations: 4.375 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.2656, allocations: 16.36 kB / 1.195 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.2657, allocations: 62.17 kB / 1.195 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2657, allocations: 3.938 kB / 1.195 GB, free: 15.89 MB / 0.8387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.2657, allocations: 7.984 kB / 1.195 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2657, allocations: 4 kB / 1.195 GB, free: 15.88 MB / 0.8387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.2659, allocations: 43.95 kB / 1.195 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.2663, allocations: 299.8 kB / 1.195 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.2667, allocations: 58.55 kB / 1.195 GB, free: 15.43 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.2668, allocations: 32.95 kB / 1.195 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.2668, allocations: 0 / 1.195 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.267, allocations: 87.36 kB / 1.195 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.267, allocations: 0 / 1.195 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of matching and sorting (n=8): time 0.0002731/0.2672, allocations: 145.5 kB / 1.195 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.2673, allocations: 51.41 kB / 1.196 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.2674, allocations: 126.9 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.2674, allocations: 33.7 kB / 1.196 GB, free: 14.92 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.2675, allocations: 88.2 kB / 1.196 GB, free: 14.83 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.2675, allocations: 23.83 kB / 1.196 GB, free: 14.8 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.2675, allocations: 37.7 kB / 1.196 GB, free: 14.76 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.569e-05/0.2676, allocations: 330.7 kB / 1.196 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/0.2677, allocations: 51.97 kB / 1.196 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2678, allocations: 88.25 kB / 1.196 GB, free: 14.28 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.268, allocations: 137.9 kB / 1.196 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.268, allocations: 3.938 kB / 1.196 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002538/0.2682, allocations: 211.1 kB / 1.197 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.2683, allocations: 41.81 kB / 1.197 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.2683, allocations: 0 / 1.197 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2683, allocations: 4 kB / 1.197 GB, free: 13.85 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.2683, allocations: 15.92 kB / 1.197 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2683, allocations: 0 / 1.197 GB, free: 13.83 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.2685, allocations: 35.92 kB / 1.197 GB, free: 13.8 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.2685, allocations: 11.98 kB / 1.197 GB, free: 13.79 MB / 0.8387 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.983e-05/0.2686, allocations: 127.5 kB / 1.197 GB, free: 13.65 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.2686, allocations: 11.94 kB / 1.197 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.2686, allocations: 8.375 kB / 1.197 GB, free: 13.63 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2686, allocations: 3.984 kB / 1.197 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2686, allocations: 0 / 1.197 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2686, allocations: 0 / 1.197 GB, free: 13.62 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.2689, allocations: 353.8 kB / 1.197 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2689, allocations: 4 kB / 1.197 GB, free: 13.23 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.2689, allocations: 12.05 kB / 1.197 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.269, allocations: 4 kB / 1.197 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-06/0.269, allocations: 0 / 1.197 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.269, allocations: 3.984 kB / 1.197 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.269, allocations: 3.938 kB / 1.197 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.2691, allocations: 215.4 kB / 1.197 GB, free: 12.98 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.2691, allocations: 11.89 kB / 1.197 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.2691, allocations: 0 / 1.197 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.43e-05/0.2692, allocations: 7.984 kB / 1.197 GB, free: 12.96 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.2692, allocations: 15.92 kB / 1.197 GB, free: 12.94 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2692, allocations: 4 kB / 1.197 GB, free: 12.94 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.26e-05/0.2693, allocations: 89.69 kB / 1.198 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2693, allocations: 0 / 1.198 GB, free: 12.85 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001716/0.2694, allocations: 23.98 kB / 1.198 GB, free: 12.83 MB / 0.8387 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.0004617/0.2699, allocations: 0.7436 MB / 1.198 GB, free: 12.06 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002307/0.2701, allocations: 167.3 kB / 1.198 GB, free: 11.88 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2701, allocations: 0 / 1.198 GB, free: 11.88 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 6.272e-05/0.2702, allocations: 35.95 kB / 1.198 GB, free: 11.85 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.2704, allocations: 26.2 kB / 1.199 GB, free: 11.82 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.2718, allocations: 1.686 MB / 1.2 GB, free: 10.03 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.272, allocations: 0.6924 MB / 1.201 GB, free: 9.309 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.217e-05/0.2721, allocations: 4 kB / 1.201 GB, free: 9.305 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.2721, allocations: 23.42 kB / 1.201 GB, free: 9.281 MB / 0.8387 GB Notification: Performance of SimCode: time 6.01e-07/0.2721, allocations: 0 / 1.201 GB, free: 9.281 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.2895, allocations: 2.702 MB / 1.204 GB, free: 6.73 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.344/6.633, allocations: 3.781 kB / 1.204 GB, free: 6.73 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: 10.916967411525548] Failed to read output from testmodel.py, exit status != 0: 6.708764247596264 6.717720505 6.451027129 Calling exit ...