Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008136/0.0008136, 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.001019/0.001019, allocations: 169.8 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.9241/0.9241, allocations: 177.2 MB / 203.6 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: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.7748/0.7748, allocations: 154.9 MB / 414.9 MB, free: 0.5039 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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001916/0.001916, allocations: 67.91 kB / 0.6198 GB, free: 12.74 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.4997/0.5016, allocations: 102 MB / 0.7194 GB, free: 23.47 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001748/0.5033, allocations: 0.628 MB / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009079/0.5042, allocations: 0.8189 MB / 0.7208 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.5043, allocations: 0 / 0.7208 GB, free: 22.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.5044, allocations: 5.703 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 2.164e-05/0.5044, allocations: 4.5 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.5045, allocations: 11.19 kB / 0.7209 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.757e-05/0.5046, allocations: 21.86 kB / 0.7209 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.5047, allocations: 11.55 kB / 0.7209 GB, free: 22.44 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.986e-05/0.5048, allocations: 15.69 kB / 0.7209 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.5048, allocations: 18.73 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.5049, allocations: 6.344 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.873e-06/0.5049, allocations: 2.344 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.5049, allocations: 4.594 kB / 0.7209 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.5049, allocations: 11.66 kB / 0.721 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 9.024e-05/0.505, allocations: 30.02 kB / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.505, allocations: 0 / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.505, allocations: 0 / 0.721 GB, free: 22.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.5051, allocations: 0 / 0.721 GB, free: 22.4 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.0003202/0.5054, allocations: 267.1 kB / 0.7212 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.5054, allocations: 11.22 kB / 0.7213 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.5054, allocations: 15.05 kB / 0.7213 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.5055, allocations: 107.8 kB / 0.7214 GB, free: 22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.5056, allocations: 6.234 kB / 0.7214 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.5056, allocations: 2.719 kB / 0.7214 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.5057, allocations: 59.75 kB / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5057, allocations: 2.266 kB / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.5057, allocations: 3.938 kB / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.5057, allocations: 1.125 kB / 0.7214 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.021e-05/0.5058, allocations: 41.55 kB / 0.7215 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.5061, allocations: 213.9 kB / 0.7217 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.081e-05/0.5062, allocations: 40.78 kB / 0.7217 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.702e-05/0.5062, allocations: 18.28 kB / 0.7217 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.5062, allocations: 5.094 kB / 0.7217 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.5062, allocations: 32.05 kB / 0.7218 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.5062, allocations: 1 kB / 0.7218 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0002206/0.5065, allocations: 84.36 kB / 0.7219 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.5065, allocations: 52.06 kB / 0.7219 GB, free: 21.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.336e-05/0.5065, allocations: 98.98 kB / 0.722 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.292e-06/0.5065, allocations: 30.36 kB / 0.722 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.5066, allocations: 95.56 kB / 0.7221 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.5066, allocations: 0 / 0.7221 GB, free: 21.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.476e-05/0.5066, allocations: 13.16 kB / 0.7221 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.666e-05/0.5066, allocations: 317.1 kB / 0.7224 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.5067, allocations: 16.42 kB / 0.7225 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.934e-05/0.5067, allocations: 18.42 kB / 0.7225 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.5068, allocations: 31.64 kB / 0.7225 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5068, allocations: 5.031 kB / 0.7225 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000109/0.5069, allocations: 67.89 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.5069, allocations: 6.141 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5069, allocations: 1.094 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.507, allocations: 0 / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.507, allocations: 7.875 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.507, allocations: 0 / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.507, allocations: 6.109 kB / 0.7226 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.5071, allocations: 1.031 kB / 0.7226 GB, free: 20.91 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.852e-05/0.5071, allocations: 117.9 kB / 0.7227 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.5071, allocations: 11.19 kB / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.749e-05/0.5071, allocations: 8.172 kB / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.5071, allocations: 0.9375 kB / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5071, allocations: 0 / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.5071, allocations: 1.125 kB / 0.7227 GB, free: 20.78 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.391e-05/0.5072, allocations: 110.2 kB / 0.7228 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5072, allocations: 4.781 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.5072, allocations: 6.531 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.5072, allocations: 0 / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.5072, allocations: 1.5 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5072, allocations: 0.5625 kB / 0.7228 GB, free: 20.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5072, allocations: 11.94 kB / 0.7229 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.5074, allocations: 169.3 kB / 0.723 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-06/0.5074, allocations: 1.953 kB / 0.723 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-06/0.5074, allocations: 1.031 kB / 0.723 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.5074, allocations: 6.953 kB / 0.723 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.5075, allocations: 1.453 kB / 0.723 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.5075, allocations: 1.125 kB / 0.723 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.275e-05/0.5075, allocations: 81.41 kB / 0.7231 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5075, allocations: 4 kB / 0.7231 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001468/0.5076, allocations: 7.656 kB / 0.7231 GB, free: 20.4 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 9.214e-05/0.5077, allocations: 94.16 kB / 0.7232 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.5079, allocations: 32.62 kB / 0.7232 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5079, allocations: 1.125 kB / 0.7232 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.5079, allocations: 21.62 kB / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.5081, allocations: 10.84 kB / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.5084, allocations: 110.8 kB / 0.7234 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.359e-05/0.5084, allocations: 62.8 kB / 0.7234 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.956e-05/0.5084, allocations: 4.281 kB / 0.7234 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.5085, allocations: 8.5 kB / 0.7234 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.5085, allocations: 1.344 kB / 0.7234 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.001979/0.5104, allocations: 458.9 kB / 0.7239 GB, free: 20.04 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.300007550045848] Failed to read output from testmodel.py, exit status != 0: 0.5192601119633764 0.5302996489999999 0.022046908 Calling exit ...