Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.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.0007465/0.0007465, 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.0007709/0.0007709, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9971/0.9971, allocations: 230.6 MB / 256 MB, free: 9.812 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.04219/0.04219, allocations: 12.18 MB / 324.6 MB, free: 6.273 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.0004895/0.0004895, allocations: 27.86 kB / 384.1 MB, free: 10.68 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.757/1.757, allocations: 353.8 MB / 0.7787 GB, free: 3.059 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.Discrete.Validation.TriggeredMax,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_TriggeredMax",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.001401/0.001401, allocations: 130.5 kB / 1.06 GB, free: 25.02 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2397, allocations: 134.9 MB / 1.192 GB, free: 7.855 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax): time 0.001596/0.2413, allocations: 0.7151 MB / 1.192 GB, free: 7.145 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.2425, allocations: 1.254 MB / 1.194 GB, free: 5.879 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.28e-05/0.2425, allocations: 4 kB / 1.194 GB, free: 5.875 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.594e-05/0.2426, allocations: 3.938 kB / 1.194 GB, free: 5.871 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.2426, allocations: 15.92 kB / 1.194 GB, free: 5.855 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004244/0.243, allocations: 144.1 kB / 1.194 GB, free: 5.719 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.2432, allocations: 119.7 kB / 1.194 GB, free: 5.602 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.319e-05/0.2433, allocations: 11.98 kB / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.972e-05/0.2434, allocations: 47.91 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.269e-05/0.2435, allocations: 43.88 kB / 1.194 GB, free: 5.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.574e-05/0.2435, allocations: 19.94 kB / 1.194 GB, free: 5.48 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.818e-05/0.2436, allocations: 31.92 kB / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.2436, allocations: 7.984 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.2436, allocations: 43.84 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.2438, allocations: 108 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2438, allocations: 3.984 kB / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2438, allocations: 0 / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.2438, allocations: 3.938 kB / 1.194 GB, free: 5.285 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004468/0.2442, allocations: 331.8 kB / 1.195 GB, free: 4.922 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.2443, allocations: 20.02 kB / 1.195 GB, free: 4.902 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.653e-05/0.2443, allocations: 34.75 kB / 1.195 GB, free: 4.859 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.472e-05/0.2444, allocations: 12.89 kB / 1.195 GB, free: 4.848 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.2445, allocations: 118.4 kB / 1.195 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2445, allocations: 384 / 1.195 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.2446, allocations: 12.31 kB / 1.195 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.2448, allocations: 70.2 kB / 1.195 GB, free: 4.621 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2448, allocations: 7.922 kB / 1.195 GB, free: 4.613 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.2448, allocations: 0 / 1.195 GB, free: 4.613 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2448, allocations: 4 kB / 1.195 GB, free: 4.609 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.2449, allocations: 43.95 kB / 1.195 GB, free: 4.566 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.2453, allocations: 287.8 kB / 1.195 GB, free: 4.242 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.2454, allocations: 50.5 kB / 1.195 GB, free: 4.184 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.2454, allocations: 32.92 kB / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.2454, allocations: 0 / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.2456, allocations: 87.31 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.2456, allocations: 0 / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003357/0.2459, allocations: 141.9 kB / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.246, allocations: 51.41 kB / 1.195 GB, free: 3.844 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.246, allocations: 125.7 kB / 1.196 GB, free: 3.711 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.246, allocations: 29.7 kB / 1.196 GB, free: 3.676 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.2461, allocations: 88.14 kB / 1.196 GB, free: 3.586 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.329e-05/0.2461, allocations: 11.91 kB / 1.196 GB, free: 3.574 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.2461, allocations: 37.69 kB / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/0.2462, allocations: 318.8 kB / 1.196 GB, free: 3.211 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.098e-05/0.2463, allocations: 55.95 kB / 1.196 GB, free: 3.156 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.112e-05/0.2464, allocations: 71.41 kB / 1.196 GB, free: 3.074 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.2465, allocations: 137 kB / 1.196 GB, free: 2.922 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2465, allocations: 3.938 kB / 1.196 GB, free: 2.918 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002362/0.2468, allocations: 203.1 kB / 1.197 GB, free: 2.707 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.2468, allocations: 39.11 kB / 1.197 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2468, allocations: 0 / 1.197 GB, free: 2.664 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2468, allocations: 4 kB / 1.197 GB, free: 2.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.247, allocations: 11.98 kB / 1.197 GB, free: 2.648 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.247, allocations: 8.125 kB / 1.197 GB, free: 2.641 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.544e-05/0.2471, allocations: 43.84 kB / 1.197 GB, free: 2.598 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.2471, allocations: 8 kB / 1.197 GB, free: 2.59 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition3,booPul.y,$PRE.booPul.y,$whenCondition1,triggeredMax.y,$PRE.triggeredMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.546e-05/0.2471, allocations: 125.7 kB / 1.197 GB, free: 2.457 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.436e-06/0.2472, allocations: 4 kB / 1.197 GB, free: 2.453 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.2473, allocations: 114 kB / 1.197 GB, free: 2.332 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2473, allocations: 0 / 1.197 GB, free: 2.332 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2473, allocations: 4 kB / 1.197 GB, free: 2.328 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2473, allocations: 0 / 1.197 GB, free: 2.328 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.2476, allocations: 341.5 kB / 1.197 GB, free: 1.945 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.2476, allocations: 0 / 1.197 GB, free: 1.945 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.2476, allocations: 7.984 kB / 1.197 GB, free: 1.938 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2476, allocations: 8 kB / 1.197 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.2476, allocations: 0 / 1.197 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2476, allocations: 0 / 1.197 GB, free: 1.93 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2476, allocations: 3.938 kB / 1.197 GB, free: 1.926 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.2478, allocations: 199.5 kB / 1.197 GB, free: 1.715 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.2478, allocations: 7.953 kB / 1.197 GB, free: 1.707 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.2478, allocations: 4 kB / 1.197 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.037e-05/0.2478, allocations: 12.45 kB / 1.197 GB, free: 1.691 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.2479, allocations: 7.875 kB / 1.197 GB, free: 1.684 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.2479, allocations: 7.984 kB / 1.197 GB, free: 1.676 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.2479, allocations: 91.22 kB / 1.198 GB, free: 1.586 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2479, allocations: 0 / 1.198 GB, free: 1.586 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002355/0.2482, allocations: 27.94 kB / 1.198 GB, free: 1.559 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: 5 ($whenCondition2,$whenCondition3,$whenCondition1,triggeredMax.y,booPul.y) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0005059/0.2487, allocations: 0.7358 MB / 1.198 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.2489, allocations: 155.3 kB / 1.198 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.2489, allocations: 0 / 1.198 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/0.2489, allocations: 40.03 kB / 1.198 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2492, allocations: 23.88 kB / 1.198 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.2506, allocations: 1.632 MB / 1.2 GB, free: 14.84 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.2508, allocations: 0.6884 MB / 1.201 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.2508, allocations: 7.75 kB / 1.201 GB, free: 14.11 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.2509, allocations: 23.42 kB / 1.201 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of SimCode: time 5.51e-07/0.2509, allocations: 4 kB / 1.201 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.2703, allocations: 2.59 MB / 1.203 GB, free: 11.64 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.362/6.632, allocations: 0 / 1.203 GB, free: 11.64 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_TriggeredMax_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Discrete_Validation_TriggeredMax.fmu > AixLib_AixLib.Controls.OBC.CDL.Discrete.Validation.TriggeredMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.131961555220187] Failed to read output from testmodel.py, exit status != 0: 6.708507474511862 6.718366069 6.472431489 Calling exit ...