Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001431/0.001431, allocations: 82.8 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002351/0.002351, allocations: 170.8 kB / 22.46 MB, free: 5.348 MB / 14.72 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 1.571/1.571, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.209/1.209, allocations: 154.5 MB / 413.7 MB, free: 5.285 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.6185 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.98e-05, allocations: 5.891 kB / 0.6185 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001746/0.001776, allocations: 0.6355 MB / 0.6191 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.003044, allocations: 0.8126 MB / 0.6199 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.003093, allocations: 4.562 kB / 0.6199 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.003212, allocations: 0.5625 kB / 0.6199 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.499e-05/0.003247, allocations: 9.234 kB / 0.6199 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001132/0.00336, allocations: 7.984 kB / 0.6199 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.61e-05/0.003446, allocations: 27.86 kB / 0.62 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.003536, allocations: 8 kB / 0.62 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.324e-05/0.003599, allocations: 17.7 kB / 0.62 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.003655, allocations: 3.984 kB / 0.62 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.00367, allocations: 4 kB / 0.62 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.00368, allocations: 4 kB / 0.62 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.544e-05/0.003746, allocations: 11.94 kB / 0.62 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.003788, allocations: 11.98 kB / 0.62 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.003914, allocations: 35.88 kB / 0.6201 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003917, allocations: 0 / 0.6201 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003918, allocations: 0 / 0.6201 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.003923, allocations: 0 / 0.6201 GB, free: 3.102 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005113/0.004434, allocations: 266.3 kB / 0.6203 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.004489, allocations: 9.469 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.00453, allocations: 12.89 kB / 0.6203 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.004695, allocations: 113.7 kB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.004709, allocations: 8.375 kB / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.004718, allocations: 384 / 0.6205 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.00492, allocations: 58.17 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.004931, allocations: 192 / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.004944, allocations: 4.375 kB / 0.6205 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.00495, allocations: 384 / 0.6205 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.005118, allocations: 35.91 kB / 0.6205 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.005559, allocations: 216.6 kB / 0.6208 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.005687, allocations: 46.47 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.642e-05/0.005773, allocations: 16.91 kB / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.005787, allocations: 0 / 0.6208 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.005836, allocations: 38.5 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.005837, allocations: 0 / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0003723/0.00621, allocations: 89.61 kB / 0.6209 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.006267, allocations: 51.41 kB / 0.621 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.006408, allocations: 97.84 kB / 0.6211 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.006429, allocations: 33.7 kB / 0.6211 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.006488, allocations: 84.09 kB / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.006505, allocations: 0 / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.006536, allocations: 13.72 kB / 0.6212 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003279/0.006864, allocations: 314.8 kB / 0.6215 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.671e-05/0.006951, allocations: 15.97 kB / 0.6215 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.007024, allocations: 20.02 kB / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.007174, allocations: 32.83 kB / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007176, allocations: 0 / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001981/0.007374, allocations: 69.53 kB / 0.6216 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.007391, allocations: 4 kB / 0.6216 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.007396, allocations: 0 / 0.6216 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.007409, allocations: 4.094 kB / 0.6216 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.007494, allocations: 15.92 kB / 0.6217 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.007501, allocations: 3.984 kB / 0.6217 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.007544, allocations: 4 kB / 0.6217 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.00755, allocations: 0 / 0.6217 GB, free: 1.281 MB / 0.5294 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 0.0002047/0.007755, allocations: 118.8 kB / 0.6218 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.007782, allocations: 7.891 kB / 0.6218 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.007805, allocations: 7.109 kB / 0.6218 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.007806, allocations: 0 / 0.6218 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.007809, allocations: 4.25 kB / 0.6218 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007812, allocations: 0 / 0.6218 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.007948, allocations: 113.3 kB / 0.6219 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.007949, allocations: 0 / 0.6219 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.523e-05/0.008004, allocations: 7.984 kB / 0.6219 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.008006, allocations: 0 / 0.6219 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.008015, allocations: 3.938 kB / 0.6219 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.008016, allocations: 0 / 0.6219 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008017, allocations: 0 / 0.6219 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.008282, allocations: 163.5 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-06/0.008288, allocations: 0 / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.008304, allocations: 7.938 kB / 0.6221 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.008381, allocations: 3.984 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.008415, allocations: 8 kB / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-06/0.008417, allocations: 0 / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.502e-05/0.008462, allocations: 79.28 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.008462, allocations: 0 / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002082/0.008671, allocations: 4 kB / 0.6222 GB, free: 0.7031 MB / 0.5294 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 0.0001289/0.008799, allocations: 107.1 kB / 0.6223 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.009048, allocations: 31.97 kB / 0.6223 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00905, allocations: 0 / 0.6223 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.57e-05/0.009136, allocations: 23.92 kB / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.009436, allocations: 0 / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.009796, allocations: 116.8 kB / 0.6224 GB, free: 400 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.012e-05/0.009876, allocations: 67.45 kB / 0.6225 GB, free: 312 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.942e-05/0.009905, allocations: 4 kB / 0.6225 GB, free: 308 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.009936, allocations: 8.5 kB / 0.6225 GB, free: 296 kB / 0.5294 GB Notification: Performance of SimCode: time 4e-07/0.009937, allocations: 0 / 0.6225 GB, free: 296 kB / 0.5294 GB Notification: Performance of Templates: time 0.003382/0.01332, allocations: 465.3 kB / 0.623 GB, free: 15.84 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.88749685138464] Failed to read output from testmodel.py, exit status != 0: 0.02336250990629196 0.040325817 0.033084776 Calling exit ...