Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.001316/0.001316, allocations: 79.59 kB / 19.18 MB, free: 2.516 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.001338/0.001338, allocations: 168 kB / 22.46 MB, free: 5.379 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.43/1.43, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.187/1.187, allocations: 154.6 MB / 413.7 MB, free: 5.301 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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.917e-06/3.917e-06, allocations: 0 / 0.6185 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.978e-05/4.369e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00235/0.002394, allocations: 0.6594 MB / 0.6192 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.003989, allocations: 0.8509 MB / 0.62 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.549e-05/0.004055, allocations: 0 / 0.62 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.004164, allocations: 5.406 kB / 0.62 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.004275, allocations: 19.86 kB / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.004409, allocations: 11.98 kB / 0.62 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.004557, allocations: 79.81 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.004696, allocations: 19.97 kB / 0.6201 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.00481, allocations: 39.92 kB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.004945, allocations: 47.88 kB / 0.6202 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.004976, allocations: 8 kB / 0.6202 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.004995, allocations: 4 kB / 0.6202 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.005064, allocations: 31.91 kB / 0.6202 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.005121, allocations: 23.86 kB / 0.6203 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.005304, allocations: 91.73 kB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.005307, allocations: 0 / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.42e-07/0.005308, allocations: 0 / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.005315, allocations: 4 kB / 0.6204 GB, free: 2.738 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007575/0.006072, allocations: 334 kB / 0.6207 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.006116, allocations: 9.469 kB / 0.6207 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.00617, allocations: 12.89 kB / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.006393, allocations: 141.6 kB / 0.6208 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.006424, allocations: 8.359 kB / 0.6208 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.006444, allocations: 8.375 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004254/0.00687, allocations: 159.8 kB / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.006881, allocations: 192 / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.006895, allocations: 384 / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.006901, allocations: 384 / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.007373, allocations: 159.7 kB / 0.6212 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.007993, allocations: 380.5 kB / 0.6215 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.008342, allocations: 117.1 kB / 0.6216 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.008574, allocations: 73.7 kB / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.008599, allocations: 0 / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.008642, allocations: 38.5 kB / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.008643, allocations: 0 / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0008342/0.009478, allocations: 229.4 kB / 0.622 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.00954, allocations: 88.98 kB / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.009672, allocations: 125.8 kB / 0.6222 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.009695, allocations: 25.7 kB / 0.6222 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.009773, allocations: 96.08 kB / 0.6223 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.0098, allocations: 16.16 kB / 0.6223 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.009857, allocations: 17.72 kB / 0.6223 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.01001, allocations: 326.8 kB / 0.6226 GB, free: 232 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.01023, allocations: 59.92 kB / 0.6227 GB, free: 172 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/0.01044, allocations: 77.62 kB / 0.6228 GB, free: 88 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.01087, allocations: 133.6 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01087, allocations: 0 / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004849/0.01136, allocations: 161.5 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.01137, allocations: 8 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.01138, allocations: 0 / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.0114, allocations: 4.062 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.01158, allocations: 27.91 kB / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01159, allocations: 0 / 0.6231 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.0117, allocations: 19.97 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.01171, allocations: 4 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001257/0.01184, allocations: 134.7 kB / 0.6232 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/0.01189, allocations: 0 / 0.6232 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.01193, allocations: 19.56 kB / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01194, allocations: 4 kB / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.01194, allocations: 0 / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01195, allocations: 0 / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.01217, allocations: 137.2 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01217, allocations: 0 / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.01232, allocations: 23.97 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.01232, allocations: 0 / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.01233, allocations: 4 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.01234, allocations: 4 kB / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01234, allocations: 0 / 0.6234 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006031/0.01294, allocations: 342.5 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.01296, allocations: 15.88 kB / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.01298, allocations: 0 / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.01315, allocations: 11.98 kB / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.01325, allocations: 31.95 kB / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.01326, allocations: 384 / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.733e-05/0.01334, allocations: 99.2 kB / 0.6239 GB, free: 14.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.01334, allocations: 4 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002707/0.01361, allocations: 12 kB / 0.6239 GB, free: 14.83 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000143/0.01375, allocations: 103.2 kB / 0.624 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004984/0.01425, allocations: 135.8 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01425, allocations: 4.125 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.01451, allocations: 83.91 kB / 0.6242 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.01499, allocations: 11.92 kB / 0.6242 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006371/0.01563, allocations: 197.5 kB / 0.6244 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.01576, allocations: 83.31 kB / 0.6245 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.116e-05/0.01585, allocations: 24.11 kB / 0.6245 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.01592, allocations: 16.5 kB / 0.6245 GB, free: 14.13 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.01592, allocations: 0 / 0.6245 GB, free: 14.13 MB / 0.545 GB Notification: Performance of Templates: time 0.005149/0.02107, allocations: 1.318 MB / 0.6258 GB, free: 12.84 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.759869981557131] Failed to read output from testmodel.py, exit status != 0: 0.031126637011766434 0.046729017000000005 0.038304285 Calling exit ...