Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.000804/0.000804, 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.001308/0.001308, allocations: 199.9 kB / 23 MB, free: 3.113 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.891/0.891, allocations: 230.6 MB / 256.8 MB, free: 3.496 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.03809/0.03809, allocations: 12.19 MB / 325.4 MB, free: 3.441 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.0004017/0.0004017, allocations: 33.92 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.67/1.67, allocations: 353.8 MB / 0.7794 GB, free: 13.02 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.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [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.001433/0.001433, allocations: 133 kB / 1.061 GB, free: 9.391 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2167, allocations: 134.9 MB / 1.193 GB, free: 2.582 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001363/0.218, allocations: 0.6542 MB / 1.194 GB, free: 1.93 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007278/0.2188, allocations: 0.8692 MB / 1.194 GB, free: 1.051 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.456e-05/0.2188, allocations: 0 / 1.194 GB, free: 1.051 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 8.719e-05/0.2189, allocations: 8 kB / 1.194 GB, free: 1.043 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 1.929e-05/0.2189, allocations: 7.938 kB / 1.194 GB, free: 1.035 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.2191, allocations: 19.92 kB / 1.195 GB, free: 1.016 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.2191, allocations: 31.97 kB / 1.195 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.2192, allocations: 7.938 kB / 1.195 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.2193, allocations: 19.86 kB / 1.195 GB, free: 0.957 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.515e-05/0.2193, allocations: 19.92 kB / 1.195 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.2194, allocations: 4 kB / 1.195 GB, free: 0.9336 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.2194, allocations: 4 kB / 1.195 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.2194, allocations: 11.98 kB / 1.195 GB, free: 0.918 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.2195, allocations: 15.92 kB / 1.195 GB, free: 0.9023 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.466e-05/0.2195, allocations: 39.81 kB / 1.195 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2195, allocations: 4 kB / 1.195 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2195, allocations: 0 / 1.195 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2196, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000347/0.2199, allocations: 266.3 kB / 1.195 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.2199, allocations: 8.031 kB / 1.195 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.22, allocations: 8.938 kB / 1.195 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.2201, allocations: 114.5 kB / 1.195 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.2201, allocations: 4.375 kB / 1.195 GB, free: 420 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.2201, allocations: 8.375 kB / 1.195 GB, free: 412 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.2202, allocations: 66.16 kB / 1.195 GB, free: 340 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.2202, allocations: 4.188 kB / 1.195 GB, free: 336 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2203, allocations: 3.938 kB / 1.195 GB, free: 332 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2203, allocations: 0 / 1.195 GB, free: 332 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.728e-05/0.2204, allocations: 47.88 kB / 1.195 GB, free: 284 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.2207, allocations: 255.8 kB / 1.195 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.38e-05/0.2207, allocations: 38.55 kB / 1.195 GB, free: 15.94 MB / 0.8387 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.2208, allocations: 24.91 kB / 1.195 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.2208, allocations: 0 / 1.195 GB, free: 15.91 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.2208, allocations: 34.56 kB / 1.196 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.2208, allocations: 0 / 1.196 GB, free: 15.87 MB / 0.8387 GB Notification: Performance of matching and sorting (n=2): time 0.0002183/0.221, allocations: 93.53 kB / 1.196 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.2211, allocations: 55.39 kB / 1.196 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.928e-05/0.2211, allocations: 105.9 kB / 1.196 GB, free: 15.59 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.2211, allocations: 25.7 kB / 1.196 GB, free: 15.56 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.2212, allocations: 96.14 kB / 1.196 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.2212, allocations: 0 / 1.196 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.2212, allocations: 17.72 kB / 1.196 GB, free: 15.44 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.2213, allocations: 318.8 kB / 1.196 GB, free: 15.12 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.2213, allocations: 19.97 kB / 1.196 GB, free: 15.1 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.672e-05/0.2214, allocations: 15.98 kB / 1.196 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.2214, allocations: 48.88 kB / 1.196 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2214, allocations: 0 / 1.196 GB, free: 15.03 MB / 0.8387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000238/0.2217, allocations: 73.55 kB / 1.196 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.2217, allocations: 4 kB / 1.196 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2217, allocations: 4.25 kB / 1.196 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.2217, allocations: 0 / 1.196 GB, free: 14.95 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.931e-05/0.2218, allocations: 16.02 kB / 1.196 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.2218, allocations: 3.984 kB / 1.196 GB, free: 14.93 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.2218, allocations: 7.984 kB / 1.196 GB, free: 14.92 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2218, allocations: 4 kB / 1.196 GB, free: 14.91 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: 1 (intRep.y[3]) * 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 7.586e-05/0.2219, allocations: 113.8 kB / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.2219, allocations: 4 kB / 1.196 GB, free: 14.79 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/0.2219, allocations: 7.312 kB / 1.196 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2219, allocations: 0 / 1.196 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2219, allocations: 4 kB / 1.196 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2219, allocations: 0 / 1.196 GB, free: 14.78 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.91e-05/0.222, allocations: 136.7 kB / 1.197 GB, free: 14.6 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.222, allocations: 3.984 kB / 1.197 GB, free: 14.6 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.2221, allocations: 11.98 kB / 1.197 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2221, allocations: 0 / 1.197 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.2221, allocations: 0 / 1.197 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2221, allocations: 0 / 1.197 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2221, allocations: 0 / 1.197 GB, free: 14.59 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.2222, allocations: 183.3 kB / 1.197 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.2222, allocations: 3.953 kB / 1.197 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.2222, allocations: 3.938 kB / 1.197 GB, free: 14.38 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.818e-05/0.2223, allocations: 11.98 kB / 1.197 GB, free: 14.37 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.2223, allocations: 4 kB / 1.197 GB, free: 14.37 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.2223, allocations: 0 / 1.197 GB, free: 14.37 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 3.035e-05/0.2223, allocations: 91.3 kB / 1.197 GB, free: 14.28 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2223, allocations: 0 / 1.197 GB, free: 14.28 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001377/0.2225, allocations: 4 kB / 1.197 GB, free: 14.27 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: 1 (intRep.y[3]) * 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 8.167e-05/0.2226, allocations: 95.25 kB / 1.197 GB, free: 14.17 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001309/0.2227, allocations: 47.83 kB / 1.197 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.2227, allocations: 0 / 1.197 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.2227, allocations: 24.05 kB / 1.197 GB, free: 14.1 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.2229, allocations: 7.984 kB / 1.197 GB, free: 14.09 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.2232, allocations: 143.2 kB / 1.197 GB, free: 13.92 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001637/0.2233, allocations: 0.6807 MB / 1.198 GB, free: 13.21 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.2234, allocations: 11.44 kB / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of SimCode: time 3.3e-07/0.2234, allocations: 0 / 1.198 GB, free: 13.2 MB / 0.8387 GB Notification: Performance of Templates: time 0.001464/0.2248, allocations: 0.6736 MB / 1.199 GB, free: 12.53 MB / 0.8387 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8400550270453095] Failed to read output from testmodel.py, exit status != 0: 0.23048526979982853 0.23883157600000002 0.017487426 Calling exit ...