Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.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.000954/0.000954, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009703/0.0009703, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9602/0.9602, allocations: 230.6 MB / 256 MB, free: 9.602 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.03692/0.03692, allocations: 12.19 MB / 324.6 MB, free: 6.094 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.0004233/0.0004233, allocations: 31.94 kB / 384.1 MB, free: 10.51 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.67/1.67, allocations: 353.8 MB / 0.7787 GB, free: 4.609 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.Sqrt,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Sqrt",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.001418/0.001418, allocations: 118.3 kB / 1.06 GB, free: 24.78 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2234, allocations: 134.9 MB / 1.192 GB, free: 7.488 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001437/0.2249, allocations: 0.6451 MB / 1.192 GB, free: 6.844 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007445/0.2256, allocations: 0.8242 MB / 1.193 GB, free: 6.008 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.157e-05/0.2256, allocations: 3.938 kB / 1.193 GB, free: 6.004 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.2257, allocations: 7.922 kB / 1.193 GB, free: 5.996 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.2257, allocations: 3.938 kB / 1.193 GB, free: 5.992 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.2259, allocations: 12 kB / 1.193 GB, free: 5.98 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.78e-05/0.2259, allocations: 27.91 kB / 1.193 GB, free: 5.953 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2261, allocations: 4 kB / 1.193 GB, free: 5.949 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.2261, allocations: 15.92 kB / 1.193 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.2261, allocations: 7.938 kB / 1.193 GB, free: 5.926 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.2262, allocations: 4 kB / 1.193 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-06/0.2262, allocations: 0 / 1.193 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.2262, allocations: 3.984 kB / 1.193 GB, free: 5.918 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.2262, allocations: 11.94 kB / 1.193 GB, free: 5.906 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.061e-05/0.2263, allocations: 20.23 kB / 1.193 GB, free: 5.887 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2263, allocations: 4 kB / 1.193 GB, free: 5.883 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2263, allocations: 0 / 1.193 GB, free: 5.883 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2263, allocations: 0 / 1.193 GB, free: 5.883 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003373/0.2266, allocations: 263.9 kB / 1.194 GB, free: 5.594 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2267, allocations: 8.031 kB / 1.194 GB, free: 5.586 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.2267, allocations: 34.75 kB / 1.194 GB, free: 5.543 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.2267, allocations: 8.891 kB / 1.194 GB, free: 5.535 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.222e-05/0.2268, allocations: 106.5 kB / 1.194 GB, free: 5.406 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2268, allocations: 4.375 kB / 1.194 GB, free: 5.402 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.2268, allocations: 4.312 kB / 1.194 GB, free: 5.398 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.227, allocations: 54.19 kB / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.227, allocations: 7.922 kB / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.227, allocations: 0 / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.227, allocations: 0 / 1.194 GB, free: 5.332 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.2271, allocations: 31.97 kB / 1.194 GB, free: 5.301 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.2274, allocations: 212.1 kB / 1.194 GB, free: 5.051 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.711e-05/0.2275, allocations: 38.5 kB / 1.194 GB, free: 5.004 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.2275, allocations: 28.84 kB / 1.194 GB, free: 4.973 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2275, allocations: 4 kB / 1.194 GB, free: 4.969 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.2276, allocations: 34.55 kB / 1.194 GB, free: 4.926 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2276, allocations: 0 / 1.194 GB, free: 4.926 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002203/0.2278, allocations: 81.61 kB / 1.194 GB, free: 4.84 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.2278, allocations: 51.41 kB / 1.194 GB, free: 4.777 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.2279, allocations: 106 kB / 1.194 GB, free: 4.664 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.2279, allocations: 29.7 kB / 1.194 GB, free: 4.629 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.2279, allocations: 84.14 kB / 1.194 GB, free: 4.543 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.2279, allocations: 3.953 kB / 1.194 GB, free: 4.539 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.228, allocations: 17.7 kB / 1.194 GB, free: 4.516 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.228, allocations: 314.8 kB / 1.195 GB, free: 4.199 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.2281, allocations: 19.86 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.405e-05/0.2281, allocations: 15.98 kB / 1.195 GB, free: 4.164 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.965e-05/0.2282, allocations: 44.88 kB / 1.195 GB, free: 4.117 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2282, allocations: 3.938 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001015/0.2283, allocations: 61.67 kB / 1.195 GB, free: 4.047 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.2283, allocations: 4 kB / 1.195 GB, free: 4.043 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.2283, allocations: 0 / 1.195 GB, free: 4.043 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2283, allocations: 7.984 kB / 1.195 GB, free: 4.035 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.2284, allocations: 4 kB / 1.195 GB, free: 4.031 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2284, allocations: 4.031 kB / 1.195 GB, free: 4.027 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.2284, allocations: 11.92 kB / 1.195 GB, free: 4.016 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2284, allocations: 0 / 1.195 GB, free: 4.016 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 (2): * Single equations (assignments): 2 * 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.303e-05/0.2285, allocations: 117.8 kB / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.2285, allocations: 0 / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.2285, allocations: 3.312 kB / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2285, allocations: 0 / 1.195 GB, free: 3.887 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2285, allocations: 7.938 kB / 1.195 GB, free: 3.879 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.2285, allocations: 3.984 kB / 1.195 GB, free: 3.875 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.89e-05/0.2286, allocations: 128.6 kB / 1.195 GB, free: 3.707 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2286, allocations: 4 kB / 1.195 GB, free: 3.703 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.2287, allocations: 7.984 kB / 1.195 GB, free: 3.695 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2287, allocations: 4 kB / 1.195 GB, free: 3.691 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.2287, allocations: 0 / 1.195 GB, free: 3.691 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.2287, allocations: 7.984 kB / 1.195 GB, free: 3.684 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2287, allocations: 0 / 1.195 GB, free: 3.684 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.2288, allocations: 167.4 kB / 1.195 GB, free: 3.504 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.2288, allocations: 0 / 1.195 GB, free: 3.504 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.2288, allocations: 11.97 kB / 1.195 GB, free: 3.492 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.2289, allocations: 7.984 kB / 1.195 GB, free: 3.484 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.2289, allocations: 0 / 1.195 GB, free: 3.484 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.2289, allocations: 0 / 1.195 GB, free: 3.484 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.991e-05/0.2289, allocations: 87.27 kB / 1.195 GB, free: 3.398 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2289, allocations: 0 / 1.195 GB, free: 3.398 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001363/0.2291, allocations: 4 kB / 1.195 GB, free: 3.395 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 (2): * Single equations (assignments): 2 * 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.0003473/0.2294, allocations: 0.6906 MB / 1.196 GB, free: 2.676 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.2296, allocations: 43.89 kB / 1.196 GB, free: 2.633 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2296, allocations: 0 / 1.196 GB, free: 2.633 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.2296, allocations: 19.98 kB / 1.196 GB, free: 2.613 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.2299, allocations: 3.938 kB / 1.196 GB, free: 2.609 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.2302, allocations: 139.3 kB / 1.196 GB, free: 2.434 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.162e-05/0.2303, allocations: 63.34 kB / 1.196 GB, free: 2.352 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.12e-05/0.2303, allocations: 0 / 1.196 GB, free: 2.352 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.2303, allocations: 15.44 kB / 1.196 GB, free: 2.336 MB / 0.823 GB Notification: Performance of SimCode: time 5.62e-07/0.2303, allocations: 0 / 1.196 GB, free: 2.336 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.2443, allocations: 1.803 MB / 1.198 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.303/6.548, allocations: 14.53 kB / 1.198 GB, free: 0.6523 MB / 0.823 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Sqrt.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.914094001054764] Failed to read output from testmodel.py, exit status != 0: 6.625040329061449 6.633632102 6.405506843 Calling exit ...