Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.0007527/0.0007527, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0008364/0.0008364, allocations: 203.8 kB / 23 MB, free: 3.109 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.8706/0.8706, allocations: 230.6 MB / 256.8 MB, free: 3.477 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.03723/0.03723, allocations: 12.18 MB / 325.4 MB, free: 3.434 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.0004051/0.0004051, allocations: 37.17 kB / 384.9 MB, free: 45.8 MB / 298.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.653/1.653, allocations: 353.8 MB / 0.7794 GB, free: 13.04 MB / 0.5262 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: translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [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.001409/0.001409, allocations: 122.8 kB / 1.061 GB, free: 9.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2206, allocations: 134.9 MB / 1.193 GB, free: 2.57 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.001285/0.2219, allocations: 0.5997 MB / 1.194 GB, free: 1.973 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006595/0.2226, allocations: 0.8537 MB / 1.194 GB, free: 1.109 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.2226, allocations: 0 / 1.194 GB, free: 1.109 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.2226, allocations: 3.938 kB / 1.194 GB, free: 1.105 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.2227, allocations: 4 kB / 1.194 GB, free: 1.102 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.2229, allocations: 7.938 kB / 1.194 GB, free: 1.094 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 6.451e-05/0.2229, allocations: 23.91 kB / 1.194 GB, free: 1.07 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.223, allocations: 4 kB / 1.194 GB, free: 1.066 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.2231, allocations: 15.98 kB / 1.194 GB, free: 1.051 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.2231, allocations: 11.94 kB / 1.195 GB, free: 1.039 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.2232, allocations: 4 kB / 1.195 GB, free: 1.035 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.755e-05/0.2232, allocations: 0 / 1.195 GB, free: 1.035 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.829e-06/0.2232, allocations: 4 kB / 1.195 GB, free: 1.031 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.2232, allocations: 19.84 kB / 1.195 GB, free: 1.012 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.69e-05/0.2233, allocations: 23.92 kB / 1.195 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2233, allocations: 3.938 kB / 1.195 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2233, allocations: 0 / 1.195 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2233, allocations: 0 / 1.195 GB, free: 0.9844 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005449/0.2239, allocations: 246.4 kB / 1.195 GB, free: 0.7109 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2239, allocations: 15.98 kB / 1.195 GB, free: 0.6953 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.224, allocations: 12.88 kB / 1.195 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.807e-05/0.2241, allocations: 114.5 kB / 1.195 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2241, allocations: 8.297 kB / 1.195 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.2241, allocations: 384 / 1.195 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/0.2242, allocations: 34.27 kB / 1.195 GB, free: 0.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.2242, allocations: 4.188 kB / 1.195 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2242, allocations: 7.922 kB / 1.195 GB, free: 500 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.2242, allocations: 0 / 1.195 GB, free: 500 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.754e-05/0.2242, allocations: 15.94 kB / 1.195 GB, free: 484 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.2244, allocations: 124.8 kB / 1.195 GB, free: 316 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.383e-05/0.2244, allocations: 22.56 kB / 1.195 GB, free: 284 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.2244, allocations: 8.922 kB / 1.195 GB, free: 272 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.2244, allocations: 4 kB / 1.195 GB, free: 268 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.2245, allocations: 42.55 kB / 1.195 GB, free: 216 kB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.2245, allocations: 4 kB / 1.195 GB, free: 212 kB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001364/0.2246, allocations: 49.56 kB / 1.195 GB, free: 156 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2246, allocations: 55.41 kB / 1.195 GB, free: 88 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.898e-05/0.2247, allocations: 101.8 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.2247, allocations: 29.83 kB / 1.195 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 2.537e-05/0.2247, allocations: 84.14 kB / 1.195 GB, free: 15.86 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.2247, allocations: 7.953 kB / 1.196 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.2248, allocations: 9.719 kB / 1.196 GB, free: 15.83 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.2248, allocations: 318.8 kB / 1.196 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.2249, allocations: 4 kB / 1.196 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.2249, allocations: 8 kB / 1.196 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.051e-05/0.2249, allocations: 24.91 kB / 1.196 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2249, allocations: 0 / 1.196 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.883e-05/0.225, allocations: 49.61 kB / 1.196 GB, free: 15.42 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.225, allocations: 4 kB / 1.196 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.225, allocations: 7.875 kB / 1.196 GB, free: 15.41 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.225, allocations: 4 kB / 1.196 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.2251, allocations: 0 / 1.196 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.2251, allocations: 0 / 1.196 GB, free: 15.4 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.2251, allocations: 8.031 kB / 1.196 GB, free: 15.39 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.2251, allocations: 0 / 1.196 GB, free: 15.39 MB / 0.8387 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 (1): * Single equations (assignments): 1 * 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.172e-05/0.2251, allocations: 114.5 kB / 1.196 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-06/0.2251, allocations: 7.953 kB / 1.196 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.513e-05/0.2252, allocations: 7.094 kB / 1.196 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.2252, allocations: 0 / 1.196 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2252, allocations: 0 / 1.196 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-06/0.2252, allocations: 0 / 1.196 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.832e-05/0.2252, allocations: 124.8 kB / 1.196 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.2252, allocations: 0 / 1.196 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.407e-05/0.2252, allocations: 11.98 kB / 1.196 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2252, allocations: 3.938 kB / 1.196 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.2252, allocations: 3.938 kB / 1.196 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.2252, allocations: 0 / 1.196 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2252, allocations: 0 / 1.196 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.587e-05/0.2253, allocations: 73.06 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-06/0.2253, allocations: 32 / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.2253, allocations: 8.188 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.182e-05/0.2253, allocations: 7.984 kB / 1.196 GB, free: 14.97 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.2254, allocations: 4 kB / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.2254, allocations: 0 / 1.196 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.485e-05/0.2254, allocations: 83.28 kB / 1.196 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2254, allocations: 0 / 1.196 GB, free: 14.88 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001168/0.2255, allocations: 4 kB / 1.196 GB, free: 14.88 MB / 0.8387 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 (1): * Single equations (assignments): 1 * 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 8.542e-05/0.2256, allocations: 103.2 kB / 1.196 GB, free: 14.77 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 8.633e-05/0.2257, allocations: 19.98 kB / 1.196 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2257, allocations: 0 / 1.196 GB, free: 14.75 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 1.85e-05/0.2257, allocations: 7.938 kB / 1.196 GB, free: 14.74 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.2258, allocations: 0.625 kB / 1.196 GB, free: 14.74 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.226, allocations: 136.5 kB / 1.197 GB, free: 14.57 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.2262, allocations: 0.6808 MB / 1.197 GB, free: 13.87 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.098e-05/0.2262, allocations: 11.38 kB / 1.197 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of SimCode: time 3.81e-07/0.2262, allocations: 0 / 1.197 GB, free: 13.86 MB / 0.8387 GB Notification: Performance of Templates: time 0.00114/0.2273, allocations: 472 kB / 1.198 GB, free: 13.4 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.55607180763036] Failed to read output from testmodel.py, exit status != 0: 0.2322000041604042 0.240582979 0.015717469 Calling exit ...