Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.000751/0.000751, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007169/0.0007169, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 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.8443/0.8443, allocations: 177.2 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6699/0.6699, allocations: 154.5 MB / 414.5 MB, free: 0.8516 MB / 378.7 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 179] 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.904e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001062/0.001081, allocations: 0.6512 MB / 0.6199 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007858/0.001866, allocations: 0.8548 MB / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.059e-05/0.001907, allocations: 0 / 0.6207 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.186e-05/0.001989, allocations: 7.875 kB / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.662e-05/0.002006, allocations: 0 / 0.6207 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001405/0.002146, allocations: 15.98 kB / 0.6208 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.748e-05/0.002214, allocations: 31.92 kB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.737e-05/0.002301, allocations: 15.92 kB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.984e-05/0.002361, allocations: 19.92 kB / 0.6208 GB, free: 11.63 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.002413, allocations: 11.98 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.002434, allocations: 4 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.002442, allocations: 4 kB / 0.6208 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.002489, allocations: 11.98 kB / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.404e-05/0.002513, allocations: 15.91 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.029e-05/0.002593, allocations: 35.89 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.002595, allocations: 0 / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002596, allocations: 0 / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.815e-06/0.002599, allocations: 0 / 0.6209 GB, free: 11.55 MB / 0.5886 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.0003479/0.002946, allocations: 278.3 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.002978, allocations: 13.47 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.003003, allocations: 0.9375 kB / 0.6212 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.003109, allocations: 121.7 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.003127, allocations: 12.36 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.003136, allocations: 384 / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.003259, allocations: 66.17 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.003266, allocations: 192 / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.003276, allocations: 8.359 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.00328, allocations: 8.312 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.003385, allocations: 47.89 kB / 0.6214 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.003614, allocations: 212.5 kB / 0.6216 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.613e-05/0.00369, allocations: 42.48 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/0.003734, allocations: 24.91 kB / 0.6217 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.003746, allocations: 3.938 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.003765, allocations: 34.56 kB / 0.6217 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.003766, allocations: 0 / 0.6217 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002101/0.003976, allocations: 97.52 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.004, allocations: 51.41 kB / 0.6219 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.00412, allocations: 109.8 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.004129, allocations: 25.7 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.004163, allocations: 88.09 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.117e-05/0.004174, allocations: 4.125 kB / 0.6221 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.004197, allocations: 13.72 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.736e-05/0.004265, allocations: 322.8 kB / 0.6224 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.004305, allocations: 11.98 kB / 0.6224 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.627e-05/0.004341, allocations: 19.98 kB / 0.6225 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.511e-05/0.004416, allocations: 40.81 kB / 0.6225 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.004417, allocations: 0 / 0.6225 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.921e-05/0.004517, allocations: 85.55 kB / 0.6226 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.004527, allocations: 11.94 kB / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.004531, allocations: 0 / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.004541, allocations: 0 / 0.6226 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.004602, allocations: 7.984 kB / 0.6226 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.004608, allocations: 4 kB / 0.6226 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.004633, allocations: 7.984 kB / 0.6226 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.004638, allocations: 0 / 0.6226 GB, free: 9.637 MB / 0.5886 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.957e-05/0.004718, allocations: 118.9 kB / 0.6227 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.004729, allocations: 3.938 kB / 0.6227 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/0.004745, allocations: 7.297 kB / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.004746, allocations: 0 / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.00475, allocations: 0 / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.004752, allocations: 4 kB / 0.6227 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.755e-05/0.00483, allocations: 105.3 kB / 0.6228 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.004831, allocations: 0 / 0.6228 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.469e-05/0.004856, allocations: 11.98 kB / 0.6228 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.004858, allocations: 7.938 kB / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.004863, allocations: 0 / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.004864, allocations: 256 / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.1e-07/0.004864, allocations: 0 / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.004984, allocations: 167.5 kB / 0.623 GB, free: 9.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.004992, allocations: 11.89 kB / 0.623 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-06/0.005001, allocations: 7.938 kB / 0.623 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.005037, allocations: 7.984 kB / 0.623 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.005074, allocations: 7.984 kB / 0.623 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.005077, allocations: 4.031 kB / 0.623 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.005104, allocations: 83.28 kB / 0.6231 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005104, allocations: 4 kB / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000138/0.005242, allocations: 4 kB / 0.6231 GB, free: 9.031 MB / 0.5886 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 5.996e-05/0.005302, allocations: 91.25 kB / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.005417, allocations: 43.89 kB / 0.6233 GB, free: 8.891 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.005419, allocations: 4.062 kB / 0.6233 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.395e-05/0.005463, allocations: 27.97 kB / 0.6233 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.005615, allocations: 2.031 kB / 0.6233 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.005832, allocations: 146.6 kB / 0.6234 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.005875, allocations: 75.27 kB / 0.6235 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.005898, allocations: 8.5 kB / 0.6235 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of SimCode: time 3.81e-07/0.005899, allocations: 0 / 0.6235 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of Templates: time 0.001602/0.0075, allocations: 0.7029 MB / 0.6242 GB, free: 7.891 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.844618896022439] Failed to read output from testmodel.py, exit status != 0: 0.011561843566596508 0.019873111000000002 0.015822045 Calling exit ...