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.000746/0.000746, allocations: 72.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.000765/0.000765, 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.879/0.879, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.7103/0.7103, 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.0009732/0.0009732, allocations: 75.89 kB / 0.6196 GB, free: 13.14 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.4343/0.4353, allocations: 101.9 MB / 0.7191 GB, free: 23.6 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001324/0.4366, allocations: 0.6324 MB / 0.7197 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007339/0.4374, allocations: 0.8182 MB / 0.7205 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.4374, allocations: 1.125 kB / 0.7205 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 8.958e-05/0.4375, allocations: 0.6094 kB / 0.7205 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 1.97e-05/0.4375, allocations: 9.797 kB / 0.7205 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001094/0.4376, allocations: 10.34 kB / 0.7205 GB, free: 22.58 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.4377, allocations: 25.39 kB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.4378, allocations: 7.812 kB / 0.7206 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.38e-05/0.4379, allocations: 19.33 kB / 0.7206 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.99e-05/0.4379, allocations: 6.422 kB / 0.7206 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.4379, allocations: 2.312 kB / 0.7206 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-06/0.4379, allocations: 2.375 kB / 0.7206 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.438, allocations: 12.7 kB / 0.7206 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.438, allocations: 12.92 kB / 0.7206 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 8.952e-05/0.4381, allocations: 29.08 kB / 0.7206 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4381, allocations: 1.625 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4381, allocations: 4 kB / 0.7207 GB, free: 22.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.4381, allocations: 0 / 0.7207 GB, free: 22.52 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.0003211/0.4384, allocations: 270.4 kB / 0.7209 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.4385, allocations: 12.78 kB / 0.7209 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.4385, allocations: 7.969 kB / 0.7209 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.882e-05/0.4386, allocations: 112 kB / 0.721 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.4386, allocations: 1.688 kB / 0.721 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.4386, allocations: 2.5 kB / 0.721 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.4388, allocations: 56.81 kB / 0.7211 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4388, allocations: 5.312 kB / 0.7211 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4388, allocations: 7.875 kB / 0.7211 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4388, allocations: 1.094 kB / 0.7211 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.053e-05/0.4389, allocations: 34.78 kB / 0.7211 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.4392, allocations: 221.2 kB / 0.7214 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.73e-05/0.4392, allocations: 36.12 kB / 0.7214 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.4393, allocations: 23.11 kB / 0.7214 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.4393, allocations: 1.5 kB / 0.7214 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.4393, allocations: 36 kB / 0.7214 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.4393, allocations: 0 / 0.7214 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.000222/0.4395, allocations: 76.08 kB / 0.7215 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.167e-05/0.4395, allocations: 52.66 kB / 0.7216 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.048e-05/0.4396, allocations: 102.5 kB / 0.7217 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.4396, allocations: 31.17 kB / 0.7217 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.4396, allocations: 90.73 kB / 0.7218 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.4396, allocations: 8.5 kB / 0.7218 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.4397, allocations: 12.97 kB / 0.7218 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.111e-05/0.4397, allocations: 313.5 kB / 0.7221 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.797e-05/0.4398, allocations: 17.36 kB / 0.7221 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.772e-05/0.4398, allocations: 13.31 kB / 0.7221 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.285e-05/0.4399, allocations: 48.2 kB / 0.7222 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4399, allocations: 5.031 kB / 0.7222 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001041/0.44, allocations: 59.84 kB / 0.7222 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.44, allocations: 5.062 kB / 0.7222 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.44, allocations: 1.812 kB / 0.7222 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.44, allocations: 0 / 0.7222 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.329e-05/0.4401, allocations: 7.453 kB / 0.7223 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.4401, allocations: 4.031 kB / 0.7223 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.485e-05/0.4401, allocations: 6.781 kB / 0.7223 GB, free: 21.03 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.4401, allocations: 0.6562 kB / 0.7223 GB, free: 21.03 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 4.047e-05/0.4402, allocations: 114.6 kB / 0.7224 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.4402, allocations: 5.469 kB / 0.7224 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.695e-05/0.4402, allocations: 13.06 kB / 0.7224 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4402, allocations: 0 / 0.7224 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4402, allocations: 2.062 kB / 0.7224 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.4402, allocations: 0 / 0.7224 GB, free: 20.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.613e-05/0.4403, allocations: 105.2 kB / 0.7225 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4403, allocations: 5.812 kB / 0.7225 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.625e-05/0.4403, allocations: 14.98 kB / 0.7225 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4403, allocations: 3.984 kB / 0.7225 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.4403, allocations: 1.094 kB / 0.7225 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4403, allocations: 0.6562 kB / 0.7225 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.4403, allocations: 0 / 0.7225 GB, free: 20.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.4404, allocations: 160.9 kB / 0.7227 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-06/0.4404, allocations: 3.406 kB / 0.7227 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-06/0.4404, allocations: 4.031 kB / 0.7227 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.4405, allocations: 5.984 kB / 0.7227 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.4405, allocations: 2.094 kB / 0.7227 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.4405, allocations: 2 kB / 0.7227 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.697e-05/0.4405, allocations: 84.16 kB / 0.7228 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4405, allocations: 0 / 0.7228 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001458/0.4407, allocations: 8.125 kB / 0.7228 GB, free: 20.53 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.791e-05/0.4407, allocations: 94.17 kB / 0.7229 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.4409, allocations: 40.64 kB / 0.7229 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4409, allocations: 0 / 0.7229 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.332e-05/0.4409, allocations: 15.27 kB / 0.7229 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.4412, allocations: 11.89 kB / 0.7229 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.4414, allocations: 136.5 kB / 0.7231 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.095e-05/0.4415, allocations: 63.44 kB / 0.7231 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.4415, allocations: 12.62 kB / 0.7231 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of SimCode: time 4.61e-07/0.4415, allocations: 0 / 0.7231 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.001647/0.4431, allocations: 0.5912 MB / 0.7237 GB, free: 20.17 MB / 0.6355 GB " [Timeout remaining time 660] 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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.426324913976714] Failed to read output from testmodel.py, exit status != 0: 0.44799319189041853 0.45747315699999996 0.017523033 Calling exit ...