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.0008262/0.0008262, allocations: 80.45 kB / 19.9 MB, free: 12 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.0009274/0.0009274, allocations: 165.9 kB / 23.18 MB, free: 1.379 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.92/0.92, allocations: 177.2 MB / 203.6 MB, free: 5.672 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.7444/0.7444, allocations: 154.9 MB / 414.9 MB, free: 0.5234 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.0009643/0.0009643, allocations: 71.88 kB / 0.6198 GB, free: 12.8 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.5192/0.5202, allocations: 102 MB / 0.7194 GB, free: 23.44 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001457/0.5217, allocations: 0.6537 MB / 0.7201 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000874/0.5225, allocations: 0.8504 MB / 0.7209 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.5226, allocations: 4 kB / 0.7209 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.224e-05/0.5227, allocations: 5.969 kB / 0.7209 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.869e-05/0.5227, allocations: 3.938 kB / 0.7209 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.5229, allocations: 23.58 kB / 0.7209 GB, free: 22.38 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.409e-05/0.5229, allocations: 29.61 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.523, allocations: 10.44 kB / 0.721 GB, free: 22.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.289e-05/0.5231, allocations: 21.38 kB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.122e-05/0.5232, allocations: 17.17 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.5232, allocations: 2.938 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.5232, allocations: 2.906 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.5233, allocations: 13.97 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.5233, allocations: 13.44 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.5234, allocations: 41.53 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5234, allocations: 1.469 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.224e-06/0.5234, allocations: 0 / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.5234, allocations: 0 / 0.7211 GB, free: 22.31 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.0003798/0.5238, allocations: 277.4 kB / 0.7213 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.5239, allocations: 14.81 kB / 0.7214 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.5239, allocations: 8.594 kB / 0.7214 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.524, allocations: 117 kB / 0.7215 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.524, allocations: 5.906 kB / 0.7215 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.524, allocations: 3.469 kB / 0.7215 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.5242, allocations: 62.92 kB / 0.7215 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.5242, allocations: 192 / 0.7215 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5242, allocations: 5.281 kB / 0.7216 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5242, allocations: 3.938 kB / 0.7216 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.5243, allocations: 44.75 kB / 0.7216 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.5246, allocations: 220.2 kB / 0.7218 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.758e-05/0.5247, allocations: 44.8 kB / 0.7219 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.5247, allocations: 23.86 kB / 0.7219 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.5247, allocations: 1.156 kB / 0.7219 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.5248, allocations: 35.69 kB / 0.7219 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5248, allocations: 0 / 0.7219 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002509/0.525, allocations: 93.33 kB / 0.722 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.525, allocations: 53.2 kB / 0.7221 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.602e-05/0.5251, allocations: 103.4 kB / 0.7222 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-06/0.5251, allocations: 25.7 kB / 0.7222 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.5251, allocations: 91.88 kB / 0.7223 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.5251, allocations: 5.047 kB / 0.7223 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.5252, allocations: 18.52 kB / 0.7223 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.256e-05/0.5252, allocations: 314.7 kB / 0.7226 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/0.5253, allocations: 19.11 kB / 0.7226 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.513e-05/0.5253, allocations: 20.11 kB / 0.7226 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.277e-05/0.5254, allocations: 52.19 kB / 0.7227 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5254, allocations: 0 / 0.7227 GB, free: 20.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001178/0.5255, allocations: 65.84 kB / 0.7227 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.5255, allocations: 6.547 kB / 0.7227 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5255, allocations: 4.094 kB / 0.7227 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.5255, allocations: 1.469 kB / 0.7227 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.5256, allocations: 13.52 kB / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.5256, allocations: 0 / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.5257, allocations: 10.09 kB / 0.7228 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.5257, allocations: 1.891 kB / 0.7228 GB, free: 20.79 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 9.063e-05/0.5258, allocations: 118.8 kB / 0.7229 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/0.5258, allocations: 1.828 kB / 0.7229 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.5258, allocations: 9.047 kB / 0.7229 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5258, allocations: 5.125 kB / 0.7229 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5258, allocations: 0.5625 kB / 0.7229 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5258, allocations: 0 / 0.7229 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.704e-05/0.5259, allocations: 116.4 kB / 0.723 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5259, allocations: 5.094 kB / 0.723 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.5259, allocations: 13.75 kB / 0.723 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.5259, allocations: 0 / 0.723 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.5259, allocations: 2.266 kB / 0.723 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.5259, allocations: 0 / 0.723 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5259, allocations: 1.188 kB / 0.723 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.5261, allocations: 177.7 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.5261, allocations: 6.984 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.5261, allocations: 1.047 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.057e-05/0.5261, allocations: 5.641 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.5262, allocations: 8.875 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.5262, allocations: 1.734 kB / 0.7232 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.017e-05/0.5262, allocations: 85.25 kB / 0.7233 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5262, allocations: 0 / 0.7233 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001419/0.5263, allocations: 9.594 kB / 0.7233 GB, free: 20.27 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 8.518e-05/0.5264, allocations: 98.45 kB / 0.7234 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001463/0.5266, allocations: 42.86 kB / 0.7235 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5266, allocations: 1.062 kB / 0.7235 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.126e-05/0.5266, allocations: 22.98 kB / 0.7235 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.5268, allocations: 15.75 kB / 0.7235 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000275/0.5271, allocations: 120.1 kB / 0.7236 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.5271, allocations: 63.67 kB / 0.7237 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.33e-05/0.5272, allocations: 3.609 kB / 0.7237 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.5272, allocations: 12.58 kB / 0.7237 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of SimCode: time 8.92e-07/0.5272, allocations: 0 / 0.7237 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.002291/0.5295, allocations: 0.6633 MB / 0.7243 GB, free: 19.88 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.362768626073375] Failed to read output from testmodel.py, exit status != 0: 0.5366456030169502 0.547118808 0.020930018 Calling exit ...