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.0009234/0.0009234, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 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.001086/0.001086, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9245/0.9245, allocations: 177.2 MB / 203.6 MB, free: 5.758 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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7566/0.7566, allocations: 154.9 MB / 414.9 MB, free: 0.5117 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: IDEAS 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.001016/0.001016, allocations: 67.91 kB / 0.6198 GB, free: 12.78 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4964, allocations: 102 MB / 0.7194 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001713/0.4981, allocations: 0.6539 MB / 0.7201 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.4991, allocations: 0.8456 MB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.4992, allocations: 0 / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.4993, allocations: 10.81 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.36e-05/0.4993, allocations: 7.938 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.4995, allocations: 20.86 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.61e-05/0.4996, allocations: 37.02 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.4998, allocations: 9.875 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.361e-05/0.4998, allocations: 18 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.4999, allocations: 21.44 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.4999, allocations: 3.438 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.4999, allocations: 2.688 kB / 0.721 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.911e-05/0.5, allocations: 13.41 kB / 0.721 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.5, allocations: 17.28 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.5002, allocations: 38.23 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5002, allocations: 0 / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.414e-06/0.5002, allocations: 1.25 kB / 0.7211 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.5002, allocations: 4 kB / 0.7211 GB, free: 22.35 MB / 0.6355 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.0004051/0.5006, allocations: 273.9 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5006, allocations: 10.12 kB / 0.7214 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.5007, allocations: 7.156 kB / 0.7214 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.5008, allocations: 118.4 kB / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.5008, allocations: 1.594 kB / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.5008, allocations: 2.781 kB / 0.7215 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.501, allocations: 63.7 kB / 0.7215 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.501, allocations: 8.781 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.501, allocations: 7.875 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.501, allocations: 1.219 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.5011, allocations: 44.27 kB / 0.7216 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/0.5014, allocations: 217.3 kB / 0.7218 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.5015, allocations: 42.81 kB / 0.7219 GB, free: 21.63 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.917e-05/0.5016, allocations: 28.78 kB / 0.7219 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.5016, allocations: 1.188 kB / 0.7219 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.5016, allocations: 31.84 kB / 0.7219 GB, free: 21.58 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.5016, allocations: 3.984 kB / 0.7219 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002809/0.5019, allocations: 89.8 kB / 0.722 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.5019, allocations: 52.56 kB / 0.7221 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.828e-05/0.502, allocations: 115.5 kB / 0.7222 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.644e-06/0.502, allocations: 25.7 kB / 0.7222 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.502, allocations: 87.67 kB / 0.7223 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.5021, allocations: 5.859 kB / 0.7223 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.5021, allocations: 18.86 kB / 0.7223 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.505e-05/0.5021, allocations: 312.6 kB / 0.7226 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.755e-05/0.5022, allocations: 20.42 kB / 0.7226 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.626e-05/0.5022, allocations: 19.92 kB / 0.7226 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.5023, allocations: 48.44 kB / 0.7227 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5023, allocations: 0 / 0.7227 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001245/0.5024, allocations: 66.53 kB / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.5025, allocations: 7.438 kB / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5025, allocations: 0.7031 kB / 0.7227 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5025, allocations: 5.062 kB / 0.7228 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/0.5026, allocations: 8.875 kB / 0.7228 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5026, allocations: 1.125 kB / 0.7228 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.5026, allocations: 21.97 kB / 0.7228 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.5026, allocations: 2.266 kB / 0.7228 GB, free: 20.82 MB / 0.6355 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 0.0001418/0.5028, allocations: 115.1 kB / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.5028, allocations: 1.031 kB / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.5028, allocations: 13.25 kB / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.5028, allocations: 1.125 kB / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.5028, allocations: 0 / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.5028, allocations: 1.031 kB / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.5029, allocations: 116.4 kB / 0.723 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.503, allocations: 3.938 kB / 0.723 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.503, allocations: 13.47 kB / 0.723 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.503, allocations: 1.281 kB / 0.723 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.503, allocations: 0 / 0.723 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.503, allocations: 1.75 kB / 0.723 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.503, allocations: 0 / 0.723 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.5032, allocations: 171.1 kB / 0.7232 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.5032, allocations: 6.078 kB / 0.7232 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.5032, allocations: 1.672 kB / 0.7232 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.527e-05/0.5033, allocations: 9.906 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.592e-05/0.5033, allocations: 8.578 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.5034, allocations: 1.797 kB / 0.7232 GB, free: 20.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.54e-05/0.5034, allocations: 85.28 kB / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5034, allocations: 0 / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001524/0.5035, allocations: 8.312 kB / 0.7233 GB, free: 20.32 MB / 0.6355 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 0.0001196/0.5037, allocations: 99.78 kB / 0.7234 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001836/0.5038, allocations: 43.56 kB / 0.7235 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5038, allocations: 0 / 0.7235 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.937e-05/0.5039, allocations: 26.53 kB / 0.7235 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.5041, allocations: 7.781 kB / 0.7235 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.5045, allocations: 119.2 kB / 0.7236 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.864e-05/0.5045, allocations: 64.75 kB / 0.7237 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.5046, allocations: 7.984 kB / 0.7237 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.5046, allocations: 10.81 kB / 0.7237 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/0.5046, allocations: 0.875 kB / 0.7237 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of Templates: time 0.002551/0.5072, allocations: 0.6635 MB / 0.7243 GB, free: 19.92 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.291676459019072] Failed to read output from testmodel.py, exit status != 0: 0.5144545359071344 0.525181998 0.022934466 Calling exit ...