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.0007539/0.0007539, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008581/0.0008581, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.842/0.842, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.6745/0.6745, allocations: 154.6 MB / 414.5 MB, free: 0.8086 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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.056e-05, allocations: 9.234 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001514/0.001534, allocations: 0.6286 MB / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.002471, allocations: 0.816 MB / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.27e-05/0.002514, allocations: 4 kB / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 7.581e-05/0.00259, allocations: 3.938 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.075e-05/0.002611, allocations: 4 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 9.281e-05/0.002704, allocations: 11.92 kB / 0.6208 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.116e-05/0.002775, allocations: 23.94 kB / 0.6208 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.946e-05/0.002854, allocations: 7.922 kB / 0.6208 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.002913, allocations: 23.97 kB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.002954, allocations: 0 / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.002978, allocations: 4 kB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-06/0.002984, allocations: 0 / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.003028, allocations: 15.92 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.003051, allocations: 7.938 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.51e-05/0.003127, allocations: 31.89 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003128, allocations: 4 kB / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003129, allocations: 0 / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.003133, allocations: 0 / 0.6209 GB, free: 11.6 MB / 0.5886 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.0003645/0.003497, allocations: 270.3 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.003531, allocations: 8.031 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.003557, allocations: 4.875 kB / 0.6211 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.003671, allocations: 113.7 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.00368, allocations: 4.375 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.00369, allocations: 4.375 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.003846, allocations: 58.23 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.003854, allocations: 192 / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.003863, allocations: 384 / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.003868, allocations: 4.359 kB / 0.6213 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.003991, allocations: 47.83 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.004317, allocations: 212.6 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.185e-05/0.004409, allocations: 34.56 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.004473, allocations: 20.91 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.004483, allocations: 3.938 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.004506, allocations: 38.48 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.004507, allocations: 4 kB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002567/0.004764, allocations: 65.66 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.004797, allocations: 55.53 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.783e-05/0.004865, allocations: 105.8 kB / 0.6219 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.004876, allocations: 25.7 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.004918, allocations: 92.09 kB / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.004931, allocations: 0 / 0.622 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.254e-05/0.004963, allocations: 17.7 kB / 0.622 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/0.005054, allocations: 310.8 kB / 0.6223 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.704e-05/0.005121, allocations: 15.98 kB / 0.6223 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.032e-05/0.005171, allocations: 15.92 kB / 0.6223 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.005288, allocations: 44.88 kB / 0.6224 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.00529, allocations: 0 / 0.6224 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.734e-05/0.005387, allocations: 65.81 kB / 0.6224 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.005397, allocations: 4 kB / 0.6224 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.0054, allocations: 0 / 0.6224 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.005412, allocations: 7.984 kB / 0.6225 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.846e-05/0.00546, allocations: 12.03 kB / 0.6225 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.005464, allocations: 0 / 0.6225 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.005486, allocations: 7.984 kB / 0.6225 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.00549, allocations: 7.875 kB / 0.6225 GB, free: 9.777 MB / 0.5886 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.728e-05/0.005537, allocations: 118.7 kB / 0.6226 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.005549, allocations: 7.938 kB / 0.6226 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.323e-05/0.005563, allocations: 7.109 kB / 0.6226 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.005564, allocations: 0 / 0.6226 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.005567, allocations: 3.984 kB / 0.6226 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.005569, allocations: 0 / 0.6226 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.511e-05/0.005645, allocations: 109.3 kB / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005645, allocations: 0 / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.876e-05/0.005664, allocations: 7.984 kB / 0.6227 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.71e-07/0.005665, allocations: 0 / 0.6227 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.005672, allocations: 3.938 kB / 0.6227 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005672, allocations: 0 / 0.6227 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005673, allocations: 0 / 0.6227 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.005781, allocations: 155.5 kB / 0.6229 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.897e-06/0.005785, allocations: 4.031 kB / 0.6229 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-06/0.005794, allocations: 3.938 kB / 0.6229 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.404e-05/0.005828, allocations: 7.984 kB / 0.6229 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.005852, allocations: 4 kB / 0.6229 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-06/0.005854, allocations: 0 / 0.6229 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.444e-05/0.005878, allocations: 91.2 kB / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005878, allocations: 0 / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001321/0.00601, allocations: 7.953 kB / 0.623 GB, free: 9.199 MB / 0.5886 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 5.868e-05/0.006069, allocations: 91.25 kB / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.006171, allocations: 35.97 kB / 0.6231 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.006172, allocations: 0 / 0.6231 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.006214, allocations: 23.97 kB / 0.6231 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.006377, allocations: 0 / 0.6231 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001967/0.006574, allocations: 138.6 kB / 0.6233 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.98e-05/0.006614, allocations: 63.28 kB / 0.6233 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.006634, allocations: 16.62 kB / 0.6233 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of SimCode: time 3.8e-07/0.006634, allocations: 0 / 0.6233 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of Templates: time 0.00118/0.007814, allocations: 0.5935 MB / 0.6239 GB, free: 8.191 MB / 0.5886 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: 4.841855478473008] Failed to read output from testmodel.py, exit status != 0: 0.012872480787336826 0.019265399000000002 0.014544302 Calling exit ...