Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000824/0.000824, allocations: 76.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.0008527/0.0008527, allocations: 169.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.9556/0.9556, allocations: 177.2 MB / 203.6 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7551/0.7551, allocations: 154.7 MB / 414.7 MB, free: 0.7461 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [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.000995/0.000995, allocations: 75.89 kB / 0.6195 GB, free: 13.11 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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.5324/0.5334, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001384/0.5348, allocations: 0.6276 MB / 0.7197 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007381/0.5355, allocations: 0.8225 MB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.5355, allocations: 1.031 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 9.44e-05/0.5356, allocations: 4 kB / 0.7205 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.962e-05/0.5357, allocations: 6.531 kB / 0.7205 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.5358, allocations: 16.34 kB / 0.7205 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.289e-05/0.5358, allocations: 20.14 kB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.5359, allocations: 15.62 kB / 0.7206 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.536, allocations: 15.55 kB / 0.7206 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.778e-05/0.536, allocations: 10.61 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.5361, allocations: 2.156 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-06/0.5361, allocations: 2.281 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.5361, allocations: 8.234 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.5361, allocations: 9.281 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.121e-05/0.5362, allocations: 24.81 kB / 0.7207 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5362, allocations: 9.094 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5362, allocations: 4 kB / 0.7207 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.5362, allocations: 0 / 0.7207 GB, free: 22.55 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003182/0.5366, allocations: 266.8 kB / 0.7209 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.5366, allocations: 8.906 kB / 0.7209 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.5366, allocations: 7.172 kB / 0.7209 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.5367, allocations: 124.5 kB / 0.7211 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.5367, allocations: 5.625 kB / 0.7211 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.5367, allocations: 2.625 kB / 0.7211 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.5369, allocations: 52.81 kB / 0.7211 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.5369, allocations: 4.75 kB / 0.7211 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.5369, allocations: 3.938 kB / 0.7211 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.5369, allocations: 1.062 kB / 0.7211 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.77e-05/0.537, allocations: 38.69 kB / 0.7212 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000248/0.5372, allocations: 216.7 kB / 0.7214 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.823e-05/0.5373, allocations: 37.2 kB / 0.7214 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.629e-05/0.5374, allocations: 22.86 kB / 0.7214 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.5374, allocations: 0.9688 kB / 0.7214 GB, free: 21.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.5374, allocations: 32.39 kB / 0.7215 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5374, allocations: 0 / 0.7215 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002232/0.5376, allocations: 80 kB / 0.7215 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.5376, allocations: 52.66 kB / 0.7216 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.757e-05/0.5377, allocations: 98.52 kB / 0.7217 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.5377, allocations: 35.86 kB / 0.7217 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.5377, allocations: 90.06 kB / 0.7218 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.5377, allocations: 1.125 kB / 0.7218 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.5377, allocations: 13.22 kB / 0.7218 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.738e-05/0.5378, allocations: 316.5 kB / 0.7221 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.5378, allocations: 13.39 kB / 0.7221 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.768e-05/0.5379, allocations: 12.7 kB / 0.7221 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.56e-05/0.5379, allocations: 44.39 kB / 0.7222 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5379, allocations: 9.25 kB / 0.7222 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001048/0.538, allocations: 61.02 kB / 0.7222 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5381, allocations: 4.5 kB / 0.7222 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5381, allocations: 4.875 kB / 0.7223 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5381, allocations: 0.5156 kB / 0.7223 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/0.5381, allocations: 7.938 kB / 0.7223 GB, free: 21.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.5381, allocations: 8.016 kB / 0.7223 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/0.5382, allocations: 6.516 kB / 0.7223 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.5382, allocations: 1.188 kB / 0.7223 GB, free: 21.05 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: 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 3.746e-05/0.5382, allocations: 118.5 kB / 0.7224 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.5382, allocations: 4.984 kB / 0.7224 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.559e-05/0.5382, allocations: 9.047 kB / 0.7224 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5382, allocations: 0 / 0.7224 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5382, allocations: 1.75 kB / 0.7224 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5382, allocations: 0 / 0.7224 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.912e-05/0.5383, allocations: 109.6 kB / 0.7225 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.5383, allocations: 5.062 kB / 0.7225 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.5383, allocations: 11.47 kB / 0.7225 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5383, allocations: 0 / 0.7225 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.5383, allocations: 5.062 kB / 0.7225 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5383, allocations: 0.7031 kB / 0.7225 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5383, allocations: 0 / 0.7225 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.5385, allocations: 157.2 kB / 0.7227 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.5385, allocations: 5.969 kB / 0.7227 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.5385, allocations: 5.188 kB / 0.7227 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.5385, allocations: 6.016 kB / 0.7227 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.5385, allocations: 2.703 kB / 0.7227 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.5386, allocations: 0 / 0.7227 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.688e-05/0.5386, allocations: 81.16 kB / 0.7228 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5386, allocations: 0 / 0.7228 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001392/0.5387, allocations: 3.688 kB / 0.7228 GB, free: 20.56 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: 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 7.341e-05/0.5388, allocations: 99.22 kB / 0.7229 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.5389, allocations: 40.27 kB / 0.7229 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.5389, allocations: 0 / 0.7229 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.539, allocations: 15.64 kB / 0.7229 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.5392, allocations: 7.125 kB / 0.7229 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.5394, allocations: 114.7 kB / 0.723 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.839e-05/0.5395, allocations: 62.52 kB / 0.7231 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.5395, allocations: 8.156 kB / 0.7231 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.5395, allocations: 8.5 kB / 0.7231 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of SimCode: time 5.81e-07/0.5395, allocations: 0 / 0.7231 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of Templates: time 0.00197/0.5415, allocations: 460.3 kB / 0.7236 GB, free: 20.18 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.396836658939719] Failed to read output from testmodel.py, exit status != 0: 0.5474244570359588 0.559592148 0.02041509 Calling exit ...