Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Reals.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.000736/0.000736, 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.0007294/0.0007294, allocations: 203.8 kB / 23 MB, free: 3.121 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.8693/0.8693, allocations: 230.6 MB / 256.8 MB, free: 3.457 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.03642/0.03642, allocations: 12.19 MB / 325.4 MB, free: 3.422 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.0004982/0.0004982, allocations: 33.72 kB / 384.9 MB, free: 45.73 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.613/1.613, 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.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(AixLib.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Reals.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.001403/0.001403, allocations: 114.1 kB / 1.061 GB, free: 9.344 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2227, allocations: 134.9 MB / 1.193 GB, free: 2.52 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001436/0.2242, allocations: 0.653 MB / 1.194 GB, free: 1.867 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007442/0.2249, allocations: 0.8615 MB / 1.195 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.2249, allocations: 0 / 1.195 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.225, allocations: 3.938 kB / 1.195 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.505e-05/0.225, allocations: 3.984 kB / 1.195 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.2252, allocations: 15.88 kB / 1.195 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.555e-05/0.2253, allocations: 31.91 kB / 1.195 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.912e-05/0.2254, allocations: 4 kB / 1.195 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.883e-05/0.2255, allocations: 15.92 kB / 1.195 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.684e-05/0.2255, allocations: 8 kB / 1.195 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.2255, allocations: 0 / 1.195 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 4.422e-05/0.2256, allocations: 11.98 kB / 1.195 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.2256, allocations: 4 kB / 1.195 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.2256, allocations: 7.938 kB / 1.195 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.2257, allocations: 31.83 kB / 1.195 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2257, allocations: 0 / 1.195 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2257, allocations: 0 / 1.195 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.2257, allocations: 0 / 1.195 GB, free: 0.8594 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.0003457/0.2261, allocations: 262.4 kB / 1.195 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.2261, allocations: 11.98 kB / 1.195 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.07e-05/0.2262, allocations: 12.88 kB / 1.195 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.883e-05/0.2262, allocations: 106.5 kB / 1.195 GB, free: 428 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2263, allocations: 4.375 kB / 1.195 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.2263, allocations: 4.375 kB / 1.195 GB, free: 420 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.2264, allocations: 50.17 kB / 1.195 GB, free: 364 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2264, allocations: 192 / 1.195 GB, free: 364 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.2264, allocations: 11.94 kB / 1.195 GB, free: 352 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2264, allocations: 0 / 1.195 GB, free: 352 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.2265, allocations: 27.97 kB / 1.195 GB, free: 324 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.2268, allocations: 216 kB / 1.195 GB, free: 64 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.837e-05/0.2269, allocations: 46.42 kB / 1.195 GB, free: 8 kB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.2269, allocations: 28.84 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.2269, allocations: 0 / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.227, allocations: 30.56 kB / 1.195 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.227, allocations: 0 / 1.195 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of matching and sorting (n=2): time 0.0002075/0.2272, allocations: 85.59 kB / 1.196 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.2272, allocations: 55.53 kB / 1.196 GB, free: 15.78 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.891e-05/0.2273, allocations: 101.8 kB / 1.196 GB, free: 15.67 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.2273, allocations: 29.7 kB / 1.196 GB, free: 15.64 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.2273, allocations: 84.08 kB / 1.196 GB, free: 15.55 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/0.2273, allocations: 7.953 kB / 1.196 GB, free: 15.54 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.2273, allocations: 17.66 kB / 1.196 GB, free: 15.52 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.2274, allocations: 314.8 kB / 1.196 GB, free: 15.2 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/0.2275, allocations: 19.98 kB / 1.196 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.251e-05/0.2275, allocations: 15.98 kB / 1.196 GB, free: 15.17 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.2276, allocations: 36.81 kB / 1.196 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2276, allocations: 0 / 1.196 GB, free: 15.13 MB / 0.8387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.539e-05/0.2277, allocations: 77.61 kB / 1.196 GB, free: 15.05 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2277, allocations: 4 kB / 1.196 GB, free: 15.04 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2277, allocations: 0 / 1.196 GB, free: 15.04 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2277, allocations: 4 kB / 1.196 GB, free: 15.04 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.143e-05/0.2277, allocations: 7.984 kB / 1.196 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.2278, allocations: 3.938 kB / 1.196 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.2278, allocations: 7.984 kB / 1.196 GB, free: 15.02 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.2278, allocations: 0 / 1.196 GB, free: 15.02 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 (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.291e-05/0.2278, allocations: 113.8 kB / 1.196 GB, free: 14.9 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.2278, allocations: 4.031 kB / 1.196 GB, free: 14.89 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.228, allocations: 68.97 kB / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.228, allocations: 4 kB / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.228, allocations: 0 / 1.196 GB, free: 14.82 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.228, allocations: 3.984 kB / 1.196 GB, free: 14.81 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.444e-05/0.2281, allocations: 128.7 kB / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2281, allocations: 0 / 1.197 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.2281, allocations: 12.02 kB / 1.197 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.2281, allocations: 4 kB / 1.197 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.2281, allocations: 0 / 1.197 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2281, allocations: 0 / 1.197 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2281, allocations: 11.88 kB / 1.197 GB, free: 14.62 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.2282, allocations: 167.4 kB / 1.197 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-06/0.2282, allocations: 32 / 1.197 GB, free: 14.44 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.826e-06/0.2282, allocations: 4 kB / 1.197 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.315e-05/0.2283, allocations: 7.984 kB / 1.197 GB, free: 14.43 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.2283, allocations: 4 kB / 1.197 GB, free: 14.42 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.2283, allocations: 0 / 1.197 GB, free: 14.42 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 2.852e-05/0.2283, allocations: 83.28 kB / 1.197 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2283, allocations: 0 / 1.197 GB, free: 14.34 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001364/0.2285, allocations: 4 kB / 1.197 GB, free: 14.34 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 (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 9.529e-05/0.2286, allocations: 99.23 kB / 1.197 GB, free: 14.23 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.2287, allocations: 35.91 kB / 1.197 GB, free: 14.19 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.2287, allocations: 0 / 1.197 GB, free: 14.19 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.893e-05/0.2287, allocations: 23.97 kB / 1.197 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.2289, allocations: 3.938 kB / 1.197 GB, free: 14.16 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.2292, allocations: 142.5 kB / 1.197 GB, free: 14 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.2295, allocations: 0.6729 MB / 1.198 GB, free: 13.3 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.2295, allocations: 11.44 kB / 1.198 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of SimCode: time 5.11e-07/0.2295, allocations: 0 / 1.198 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of Templates: time 0.0014/0.2309, allocations: 0.5523 MB / 1.198 GB, free: 12.73 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.679799497127533] Failed to read output from testmodel.py, exit status != 0: 0.23651335388422012 0.244509351 0.017136556 Calling exit ...