Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.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.001148/0.001148, 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.001309/0.001309, 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.9817/0.9817, allocations: 230.6 MB / 256 MB, free: 9.625 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.03923/0.03923, allocations: 12.19 MB / 324.6 MB, free: 6.109 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.0006138/0.0006138, allocations: 31.95 kB / 384.1 MB, free: 10.53 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.665/1.665, allocations: 353.8 MB / 0.7787 GB, free: 4.66 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.Asin,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Reals.Validation.Asin,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Asin",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.001503/0.001503, allocations: 124.9 kB / 1.06 GB, free: 24.73 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2136, allocations: 134.9 MB / 1.192 GB, free: 7.531 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Asin): time 0.001421/0.2151, allocations: 0.6516 MB / 1.192 GB, free: 6.879 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007202/0.2158, allocations: 0.8203 MB / 1.193 GB, free: 6.047 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.2158, allocations: 0 / 1.193 GB, free: 6.047 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.2158, allocations: 7.875 kB / 1.193 GB, free: 6.039 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.999e-05/0.2159, allocations: 0 / 1.193 GB, free: 6.039 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.2161, allocations: 15.92 kB / 1.193 GB, free: 6.023 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.131e-05/0.2162, allocations: 27.92 kB / 1.193 GB, free: 5.996 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.2162, allocations: 4 kB / 1.193 GB, free: 5.992 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.2163, allocations: 11.98 kB / 1.193 GB, free: 5.98 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.23e-05/0.2163, allocations: 11.92 kB / 1.193 GB, free: 5.969 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.2163, allocations: 0 / 1.193 GB, free: 5.969 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.323e-05/0.2164, allocations: 8 kB / 1.193 GB, free: 5.961 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.2164, allocations: 7.984 kB / 1.193 GB, free: 5.953 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.886e-05/0.2164, allocations: 7.938 kB / 1.193 GB, free: 5.945 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.2165, allocations: 24.19 kB / 1.193 GB, free: 5.922 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2165, allocations: 0 / 1.193 GB, free: 5.922 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2165, allocations: 3.938 kB / 1.193 GB, free: 5.918 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2165, allocations: 4 kB / 1.193 GB, free: 5.914 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.0003356/0.2169, allocations: 258.4 kB / 1.194 GB, free: 5.629 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2169, allocations: 8.031 kB / 1.194 GB, free: 5.621 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.2169, allocations: 30.75 kB / 1.194 GB, free: 5.582 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/0.217, allocations: 8.891 kB / 1.194 GB, free: 5.574 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.132e-05/0.2171, allocations: 110.5 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.2171, allocations: 4.375 kB / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.2171, allocations: 384 / 1.194 GB, free: 5.438 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.2172, allocations: 54.17 kB / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.2172, allocations: 11.88 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2173, allocations: 0 / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2173, allocations: 0 / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.535e-05/0.2173, allocations: 31.97 kB / 1.194 GB, free: 5.336 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.2176, allocations: 216 kB / 1.194 GB, free: 5.082 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.998e-05/0.2177, allocations: 38.44 kB / 1.194 GB, free: 5.035 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.2177, allocations: 32.89 kB / 1.194 GB, free: 5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.2178, allocations: 4 kB / 1.194 GB, free: 4.996 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.2178, allocations: 30.56 kB / 1.194 GB, free: 4.957 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2178, allocations: 0 / 1.194 GB, free: 4.957 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002128/0.218, allocations: 85.59 kB / 1.194 GB, free: 4.867 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.218, allocations: 51.41 kB / 1.194 GB, free: 4.805 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.5e-05/0.2181, allocations: 97.86 kB / 1.194 GB, free: 4.699 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.2181, allocations: 25.7 kB / 1.194 GB, free: 4.668 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.2181, allocations: 92.14 kB / 1.194 GB, free: 4.574 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.2182, allocations: 11.94 kB / 1.194 GB, free: 4.562 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.2182, allocations: 17.72 kB / 1.194 GB, free: 4.539 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.2183, allocations: 310.8 kB / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.2183, allocations: 15.98 kB / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-05/0.2183, allocations: 15.98 kB / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.336e-05/0.2184, allocations: 36.81 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2184, allocations: 8 kB / 1.195 GB, free: 4.148 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.827e-05/0.2185, allocations: 65.66 kB / 1.195 GB, free: 4.078 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2185, allocations: 5.719 kB / 1.195 GB, free: 4.074 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2185, allocations: 4 kB / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.2186, allocations: 3.938 kB / 1.195 GB, free: 4.066 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.181e-05/0.2186, allocations: 7.938 kB / 1.195 GB, free: 4.059 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2186, allocations: 3.984 kB / 1.195 GB, free: 4.055 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.2186, allocations: 16.02 kB / 1.195 GB, free: 4.039 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.2186, allocations: 0 / 1.195 GB, free: 4.039 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.197e-05/0.2187, allocations: 113.8 kB / 1.195 GB, free: 3.918 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.2187, allocations: 0 / 1.195 GB, free: 3.918 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.2188, allocations: 76.95 kB / 1.195 GB, free: 3.836 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2188, allocations: 0 / 1.195 GB, free: 3.836 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2188, allocations: 192 / 1.195 GB, free: 3.836 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2189, allocations: 0 / 1.195 GB, free: 3.836 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.791e-05/0.2189, allocations: 132.7 kB / 1.195 GB, free: 3.664 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2189, allocations: 4.031 kB / 1.195 GB, free: 3.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.219, allocations: 8 kB / 1.195 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.219, allocations: 0 / 1.195 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.219, allocations: 0 / 1.195 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.219, allocations: 3.938 kB / 1.195 GB, free: 3.648 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.219, allocations: 7.922 kB / 1.195 GB, free: 3.641 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.2191, allocations: 163.4 kB / 1.195 GB, free: 3.465 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-06/0.2191, allocations: 3.984 kB / 1.195 GB, free: 3.461 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.2191, allocations: 8.031 kB / 1.195 GB, free: 3.453 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.2192, allocations: 4 kB / 1.195 GB, free: 3.449 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.2192, allocations: 3.984 kB / 1.195 GB, free: 3.445 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.2192, allocations: 4 kB / 1.195 GB, free: 3.441 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.599e-05/0.2192, allocations: 75.28 kB / 1.196 GB, free: 3.367 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2192, allocations: 0 / 1.196 GB, free: 3.367 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001409/0.2194, allocations: 4 kB / 1.196 GB, free: 3.363 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.0003218/0.2197, allocations: 0.6967 MB / 1.196 GB, free: 2.637 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.2198, allocations: 39.95 kB / 1.196 GB, free: 2.598 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2198, allocations: 0 / 1.196 GB, free: 2.598 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.2199, allocations: 15.98 kB / 1.196 GB, free: 2.582 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.2201, allocations: 8 kB / 1.196 GB, free: 2.574 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.2205, allocations: 155.9 kB / 1.196 GB, free: 2.383 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.453e-05/0.2205, allocations: 55.36 kB / 1.196 GB, free: 2.309 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.224e-05/0.2205, allocations: 3.938 kB / 1.196 GB, free: 2.305 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.2206, allocations: 15.42 kB / 1.196 GB, free: 2.289 MB / 0.823 GB Notification: Performance of SimCode: time 5.41e-07/0.2206, allocations: 0 / 1.196 GB, free: 2.289 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0149/0.2355, allocations: 1.823 MB / 1.198 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.537/6.772, allocations: 7.812 kB / 1.198 GB, free: 0.5938 MB / 0.823 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Asin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_OBC_CDL_Reals_Validation_Asin.fmu > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Asin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.171175775118172] Failed to read output from testmodel.py, exit status != 0: 6.84955280739814 6.859030694 6.640366892 Calling exit ...