Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.001388/0.001388, allocations: 81.34 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001783/0.001783, allocations: 164.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.204/1.204, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.822e-05/4.123e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.00201/0.002051, allocations: 0.6311 MB / 0.6192 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.003297, allocations: 0.8237 MB / 0.62 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.003349, allocations: 0 / 0.62 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.377e-05/0.003443, allocations: 7.984 kB / 0.62 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.504e-05/0.003538, allocations: 3.938 kB / 0.62 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.86e-05/0.003607, allocations: 15.97 kB / 0.62 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.003738, allocations: 55.84 kB / 0.6201 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.003873, allocations: 8 kB / 0.6201 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.003967, allocations: 39.89 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.004062, allocations: 31.91 kB / 0.6202 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.004092, allocations: 8 kB / 0.6202 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.004106, allocations: 4 kB / 0.6202 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.004165, allocations: 19.97 kB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.004211, allocations: 23.92 kB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.004342, allocations: 67.77 kB / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.004344, allocations: 0 / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.004346, allocations: 0 / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.004353, allocations: 4 kB / 0.6203 GB, free: 2.848 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006721/0.005025, allocations: 322 kB / 0.6206 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.005063, allocations: 12.03 kB / 0.6206 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.0051, allocations: 4.938 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.005289, allocations: 125.7 kB / 0.6207 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.005308, allocations: 8.375 kB / 0.6207 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.005327, allocations: 8.375 kB / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.005688, allocations: 135.8 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.0057, allocations: 192 / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.005717, allocations: 12.3 kB / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.005722, allocations: 384 / 0.6209 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.006128, allocations: 127.8 kB / 0.621 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.006786, allocations: 368.6 kB / 0.6213 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.00705, allocations: 93.02 kB / 0.6214 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.007248, allocations: 69.7 kB / 0.6215 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.007264, allocations: 0 / 0.6215 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.007295, allocations: 30.56 kB / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.007296, allocations: 0 / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0006989/0.007995, allocations: 193.6 kB / 0.6217 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/0.008064, allocations: 81.09 kB / 0.6218 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.008175, allocations: 117.8 kB / 0.6219 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.008192, allocations: 29.7 kB / 0.6219 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.608e-05/0.008268, allocations: 92.08 kB / 0.622 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.008291, allocations: 11.95 kB / 0.622 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.008334, allocations: 13.72 kB / 0.622 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.008485, allocations: 310.8 kB / 0.6223 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.008677, allocations: 59.98 kB / 0.6224 GB, free: 484 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001962/0.008873, allocations: 69.58 kB / 0.6225 GB, free: 408 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003497/0.009223, allocations: 105.5 kB / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009224, allocations: 4.438 kB / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004233/0.009648, allocations: 137.5 kB / 0.6227 GB, free: 148 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.009663, allocations: 4 kB / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.009667, allocations: 0 / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.009686, allocations: 7.938 kB / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.009822, allocations: 15.97 kB / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.009829, allocations: 8.062 kB / 0.6227 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.891e-05/0.009928, allocations: 23.92 kB / 0.6228 GB, free: 88 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.009936, allocations: 0 / 0.6228 GB, free: 88 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 0.0001284/0.01006, allocations: 126.8 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.01011, allocations: 4 kB / 0.6229 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.01014, allocations: 7.469 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.01014, allocations: 4 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.01015, allocations: 0 / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01015, allocations: 3.938 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.01037, allocations: 133.2 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.01037, allocations: 0 / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.01048, allocations: 19.97 kB / 0.623 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.01048, allocations: 3.938 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.01049, allocations: 4 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01049, allocations: 0 / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01049, allocations: 0 / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.01101, allocations: 310.6 kB / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.01102, allocations: 4 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01104, allocations: 4 kB / 0.6234 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.01119, allocations: 15.97 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.01125, allocations: 7.984 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.01126, allocations: 4 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.15e-05/0.01133, allocations: 95.27 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.01133, allocations: 3.938 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002706/0.0116, allocations: 11.95 kB / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 0.0001205/0.01172, allocations: 99.28 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.01217, allocations: 111.8 kB / 0.6237 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01217, allocations: 0 / 0.6237 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.01238, allocations: 68.05 kB / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003497/0.01273, allocations: 16.2 kB / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.01317, allocations: 161.3 kB / 0.6239 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/0.01327, allocations: 91.25 kB / 0.624 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.716e-05/0.01332, allocations: 11.98 kB / 0.624 GB, free: 14.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.01336, allocations: 12.5 kB / 0.624 GB, free: 14.66 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.01336, allocations: 4.062 kB / 0.624 GB, free: 14.65 MB / 0.545 GB Notification: Performance of Templates: time 0.003609/0.01697, allocations: 0.8451 MB / 0.6249 GB, free: 13.82 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.664412647485733] Failed to read output from testmodel.py, exit status != 0: 0.026086006313562393 0.041867659 0.034356651 Calling exit ...