Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.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.0009368/0.0009368, 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.0008472/0.0008472, allocations: 208.1 kB / 22.25 MB, free: 3.574 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: 9.605 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.03578/0.03578, allocations: 12.19 MB / 324.6 MB, free: 6.188 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.0004718/0.0004718, allocations: 27.95 kB / 384.1 MB, free: 10.61 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.663/1.663, allocations: 353.8 MB / 0.7787 GB, free: 4.59 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.Integers.Validation.Min,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Min",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.001416/0.001416, allocations: 128.4 kB / 1.06 GB, free: 24.84 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2452, allocations: 134.9 MB / 1.192 GB, free: 7.527 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Integers.Validation.Min): time 0.001557/0.2468, allocations: 0.7561 MB / 1.192 GB, free: 6.773 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008146/0.2476, allocations: 0.8861 MB / 1.193 GB, free: 5.875 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.516e-05/0.2476, allocations: 4 kB / 1.193 GB, free: 5.871 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.2476, allocations: 7.922 kB / 1.193 GB, free: 5.863 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.29e-05/0.2477, allocations: 11.88 kB / 1.193 GB, free: 5.852 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.2479, allocations: 43.89 kB / 1.193 GB, free: 5.809 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.248, allocations: 83.81 kB / 1.193 GB, free: 5.727 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2481, allocations: 15.98 kB / 1.193 GB, free: 5.711 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.877e-05/0.2482, allocations: 31.92 kB / 1.193 GB, free: 5.68 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.645e-05/0.2482, allocations: 51.75 kB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.2483, allocations: 11.94 kB / 1.194 GB, free: 5.617 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.2483, allocations: 12 kB / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.2483, allocations: 15.98 kB / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.2483, allocations: 31.84 kB / 1.194 GB, free: 5.559 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.2484, allocations: 91.88 kB / 1.194 GB, free: 5.469 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2484, allocations: 4 kB / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2484, allocations: 0 / 1.194 GB, free: 5.465 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2484, allocations: 0 / 1.194 GB, free: 5.465 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004455/0.2489, allocations: 318 kB / 1.194 GB, free: 5.125 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2489, allocations: 8.031 kB / 1.194 GB, free: 5.117 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.249, allocations: 38.75 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.249, allocations: 12.89 kB / 1.194 GB, free: 5.059 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.2491, allocations: 118.4 kB / 1.194 GB, free: 4.918 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2491, allocations: 4.375 kB / 1.194 GB, free: 4.914 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.2491, allocations: 12.12 kB / 1.194 GB, free: 4.902 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.2493, allocations: 101.6 kB / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2493, allocations: 0 / 1.194 GB, free: 4.797 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2493, allocations: 3.938 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2493, allocations: 0 / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.2495, allocations: 99.91 kB / 1.194 GB, free: 4.695 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.2499, allocations: 303.7 kB / 1.195 GB, free: 4.355 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007859/0.2507, allocations: 118.6 kB / 1.195 GB, free: 4.23 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2508, allocations: 56.75 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.2509, allocations: 0 / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.2509, allocations: 42.5 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2509, allocations: 0 / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0003906/0.2513, allocations: 173.5 kB / 1.195 GB, free: 3.945 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.2513, allocations: 63.41 kB / 1.195 GB, free: 3.871 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.2514, allocations: 121.8 kB / 1.195 GB, free: 3.742 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.2514, allocations: 25.7 kB / 1.195 GB, free: 3.711 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.2514, allocations: 97.55 kB / 1.195 GB, free: 3.613 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.2514, allocations: 23.78 kB / 1.195 GB, free: 3.59 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.2515, allocations: 25.7 kB / 1.195 GB, free: 3.559 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.286e-05/0.2515, allocations: 322.8 kB / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.2517, allocations: 47.89 kB / 1.196 GB, free: 3.188 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/0.2517, allocations: 47.95 kB / 1.196 GB, free: 3.141 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.2519, allocations: 92.78 kB / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2519, allocations: 0 / 1.196 GB, free: 3.047 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000222/0.2522, allocations: 138 kB / 1.196 GB, free: 2.906 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2522, allocations: 8 kB / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2522, allocations: 0 / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2522, allocations: 0 / 1.196 GB, free: 2.898 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.551e-05/0.2523, allocations: 31.91 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2523, allocations: 8 kB / 1.196 GB, free: 2.859 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.2523, allocations: 11.98 kB / 1.196 GB, free: 2.848 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.2523, allocations: 3.984 kB / 1.196 GB, free: 2.844 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.419e-05/0.2524, allocations: 113.8 kB / 1.196 GB, free: 2.723 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.2524, allocations: 11.95 kB / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.2527, allocations: 149.9 kB / 1.196 GB, free: 2.555 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2527, allocations: 7.984 kB / 1.196 GB, free: 2.547 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2527, allocations: 7.922 kB / 1.196 GB, free: 2.539 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.2527, allocations: 4 kB / 1.196 GB, free: 2.535 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001308/0.2528, allocations: 148.7 kB / 1.196 GB, free: 2.348 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2528, allocations: 7.938 kB / 1.196 GB, free: 2.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.215e-05/0.2529, allocations: 31.91 kB / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.2529, allocations: 0 / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.2529, allocations: 0 / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2529, allocations: 0 / 1.197 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2529, allocations: 3.938 kB / 1.197 GB, free: 2.305 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.2532, allocations: 243.3 kB / 1.197 GB, free: 2.051 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.2532, allocations: 15.88 kB / 1.197 GB, free: 2.035 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.2532, allocations: 0 / 1.197 GB, free: 2.035 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.401e-05/0.2532, allocations: 11.98 kB / 1.197 GB, free: 2.023 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.2533, allocations: 27.91 kB / 1.197 GB, free: 1.996 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.2533, allocations: 4 kB / 1.197 GB, free: 1.992 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.2534, allocations: 95.27 kB / 1.197 GB, free: 1.898 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2534, allocations: 0 / 1.197 GB, free: 1.898 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001596/0.2535, allocations: 12 kB / 1.197 GB, free: 1.887 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: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004343/0.2539, allocations: 0.7748 MB / 1.198 GB, free: 1.086 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002381/0.2542, allocations: 103.8 kB / 1.198 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.2542, allocations: 0 / 1.198 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2543, allocations: 59.94 kB / 1.198 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.2545, allocations: 13.81 kB / 1.198 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.2559, allocations: 1.537 MB / 1.199 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.873e-05/0.2559, allocations: 83.02 kB / 1.199 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.295e-05/0.256, allocations: 12 kB / 1.199 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.256, allocations: 31.42 kB / 1.199 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of SimCode: time 5.91e-07/0.256, allocations: 0 / 1.199 GB, free: 15.15 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.271, allocations: 3.37 MB / 1.203 GB, free: 11.93 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.585/6.856, allocations: 2.406 kB / 1.203 GB, free: 11.93 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Integers_Validation_Min.fmu > AixLib_AixLib.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.173414843156934] Failed to read output from testmodel.py, exit status != 0: 6.932906215079129 6.943403623 6.693190249 Calling exit ...