Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.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.0008378/0.0008378, 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.000927/0.000927, allocations: 207.6 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.9433/0.9433, allocations: 230.6 MB / 256 MB, free: 9.59 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.03776/0.03776, allocations: 12.19 MB / 324.6 MB, free: 6.078 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.0005923/0.0005923, allocations: 27.94 kB / 384.1 MB, free: 10.5 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.645/1.645, allocations: 353.8 MB / 0.7787 GB, free: 4.562 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.Reals.Validation.Divide,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Divide",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Divide,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Divide",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.001397/0.001397, allocations: 122.2 kB / 1.06 GB, free: 24.74 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2453, allocations: 134.9 MB / 1.192 GB, free: 7.449 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Divide): time 0.00147/0.2468, allocations: 0.6805 MB / 1.192 GB, free: 6.77 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007835/0.2475, allocations: 0.8397 MB / 1.193 GB, free: 5.918 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.471e-05/0.2476, allocations: 0 / 1.193 GB, free: 5.918 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.783e-05/0.2476, allocations: 4 kB / 1.193 GB, free: 5.914 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.655e-05/0.2477, allocations: 11.88 kB / 1.193 GB, free: 5.902 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 5.946e-05/0.2477, allocations: 11.98 kB / 1.193 GB, free: 5.891 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.665e-05/0.2478, allocations: 35.92 kB / 1.193 GB, free: 5.855 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2479, allocations: 11.98 kB / 1.193 GB, free: 5.844 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.185e-05/0.248, allocations: 19.92 kB / 1.193 GB, free: 5.824 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.581e-05/0.248, allocations: 15.92 kB / 1.193 GB, free: 5.809 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.248, allocations: 4 kB / 1.193 GB, free: 5.805 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-06/0.248, allocations: 4 kB / 1.193 GB, free: 5.801 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.248, allocations: 7.984 kB / 1.193 GB, free: 5.793 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.2481, allocations: 23.92 kB / 1.193 GB, free: 5.77 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.583e-05/0.2482, allocations: 47.97 kB / 1.193 GB, free: 5.723 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2482, allocations: 0 / 1.193 GB, free: 5.723 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.434e-06/0.2482, allocations: 0 / 1.193 GB, free: 5.723 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2482, allocations: 0 / 1.193 GB, free: 5.723 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004032/0.2486, allocations: 282.2 kB / 1.194 GB, free: 5.414 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.2486, allocations: 12.03 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.791e-05/0.2487, allocations: 34.75 kB / 1.194 GB, free: 5.359 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.2487, allocations: 8.891 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.186e-05/0.2488, allocations: 110.5 kB / 1.194 GB, free: 5.219 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2488, allocations: 4.375 kB / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.2488, allocations: 384 / 1.194 GB, free: 5.215 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.249, allocations: 70.22 kB / 1.194 GB, free: 5.141 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.249, allocations: 3.938 kB / 1.194 GB, free: 5.137 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.249, allocations: 0 / 1.194 GB, free: 5.137 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.249, allocations: 3.984 kB / 1.194 GB, free: 5.133 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.2491, allocations: 67.88 kB / 1.194 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.2495, allocations: 235.9 kB / 1.194 GB, free: 4.793 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.2496, allocations: 54.55 kB / 1.194 GB, free: 4.73 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.2497, allocations: 36.91 kB / 1.194 GB, free: 4.691 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2497, allocations: 3.938 kB / 1.194 GB, free: 4.688 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.2497, allocations: 42.5 kB / 1.194 GB, free: 4.637 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.2497, allocations: 0 / 1.194 GB, free: 4.637 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0003223/0.25, allocations: 125.6 kB / 1.194 GB, free: 4.508 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.2501, allocations: 51.41 kB / 1.194 GB, free: 4.445 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.624e-05/0.2501, allocations: 113.8 kB / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.2501, allocations: 29.7 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.2502, allocations: 88.09 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.2502, allocations: 7.953 kB / 1.195 GB, free: 4.191 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.2502, allocations: 13.66 kB / 1.195 GB, free: 4.172 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.2503, allocations: 322.8 kB / 1.195 GB, free: 3.848 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.2504, allocations: 27.97 kB / 1.195 GB, free: 3.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.2504, allocations: 44.06 kB / 1.195 GB, free: 3.777 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.2506, allocations: 68.73 kB / 1.195 GB, free: 3.707 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2506, allocations: 0 / 1.195 GB, free: 3.707 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001578/0.2507, allocations: 97.61 kB / 1.195 GB, free: 3.605 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2507, allocations: 5.719 kB / 1.195 GB, free: 3.602 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2507, allocations: 4 kB / 1.195 GB, free: 3.598 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.2507, allocations: 4 kB / 1.195 GB, free: 3.594 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.258e-05/0.2508, allocations: 11.98 kB / 1.195 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2508, allocations: 0 / 1.195 GB, free: 3.582 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.612e-05/0.2509, allocations: 15.94 kB / 1.195 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2509, allocations: 320 / 1.195 GB, free: 3.566 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.352e-05/0.2509, allocations: 121.7 kB / 1.195 GB, free: 3.438 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.002e-05/0.2509, allocations: 0 / 1.195 GB, free: 3.438 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.2509, allocations: 11.98 kB / 1.195 GB, free: 3.418 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2509, allocations: 4 kB / 1.195 GB, free: 3.414 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.251, allocations: 4 kB / 1.195 GB, free: 3.41 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.251, allocations: 0 / 1.195 GB, free: 3.41 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.936e-05/0.2511, allocations: 136.7 kB / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.2511, allocations: 0 / 1.196 GB, free: 3.234 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.2511, allocations: 15.98 kB / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.2511, allocations: 0 / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.2511, allocations: 0 / 1.196 GB, free: 3.219 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2511, allocations: 3.984 kB / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.2511, allocations: 0 / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.2513, allocations: 203.4 kB / 1.196 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-06/0.2513, allocations: 3.938 kB / 1.196 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.2513, allocations: 0 / 1.196 GB, free: 2.996 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.697e-05/0.2514, allocations: 11.98 kB / 1.196 GB, free: 2.984 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.2514, allocations: 11.92 kB / 1.196 GB, free: 2.973 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.2514, allocations: 4 kB / 1.196 GB, free: 2.969 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.547e-05/0.2514, allocations: 91.19 kB / 1.196 GB, free: 2.879 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2514, allocations: 4 kB / 1.196 GB, free: 2.875 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001433/0.2516, allocations: 12 kB / 1.196 GB, free: 2.863 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004148/0.252, allocations: 0.7279 MB / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.2522, allocations: 71.86 kB / 1.197 GB, free: 2.039 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2522, allocations: 4 kB / 1.197 GB, free: 2.035 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.9e-05/0.2523, allocations: 31.97 kB / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.2525, allocations: 0 / 1.197 GB, free: 2.004 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.2529, allocations: 159.5 kB / 1.197 GB, free: 1.809 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.734e-05/0.253, allocations: 67.34 kB / 1.197 GB, free: 1.723 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.253, allocations: 0 / 1.197 GB, free: 1.723 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.511e-05/0.2531, allocations: 19.42 kB / 1.197 GB, free: 1.703 MB / 0.823 GB Notification: Performance of SimCode: time 6.51e-07/0.2531, allocations: 0 / 1.197 GB, free: 1.703 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.2694, allocations: 2.19 MB / 1.199 GB, free: 15.65 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.561/6.83, allocations: 2.625 kB / 1.199 GB, free: 15.65 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Divide_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Divide.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Divide.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.152200763113797] Failed to read output from testmodel.py, exit status != 0: 6.905032082460821 6.913563535 6.6636763629999995 Calling exit ...