Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0007201/0.0007201, allocations: 76.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.0007351/0.0007351, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8427/0.8427, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6901/0.6901, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.424e-06/2.424e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/2.036e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001112/0.001132, allocations: 0.6573 MB / 0.62 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007323/0.001865, allocations: 0.8471 MB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.001907, allocations: 0 / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.213e-05/0.001989, allocations: 3.938 kB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.992e-05/0.002009, allocations: 3.938 kB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.002156, allocations: 23.97 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.002224, allocations: 31.86 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.682e-05/0.002311, allocations: 11.98 kB / 0.6209 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.297e-05/0.002364, allocations: 19.98 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.002414, allocations: 11.97 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.002436, allocations: 4 kB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-06/0.002445, allocations: 4 kB / 0.6209 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.00249, allocations: 11.94 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.002514, allocations: 15.92 kB / 0.6209 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.307e-05/0.002597, allocations: 47.73 kB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.002599, allocations: 4 kB / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.02e-07/0.0026, allocations: 0 / 0.621 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.002603, allocations: 0 / 0.621 GB, free: 11.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003362/0.00294, allocations: 270.3 kB / 0.6212 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.002972, allocations: 12.03 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.002996, allocations: 0.9375 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.003105, allocations: 117.7 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.003122, allocations: 4.375 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-06/0.00313, allocations: 384 / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.00326, allocations: 66.22 kB / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.003268, allocations: 192 / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.003276, allocations: 384 / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.00328, allocations: 384 / 0.6214 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.839e-05/0.003379, allocations: 55.83 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.003619, allocations: 216.5 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.611e-05/0.003696, allocations: 34.56 kB / 0.6217 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.063e-05/0.003746, allocations: 32.83 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.003759, allocations: 3.938 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.003776, allocations: 30.56 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.003777, allocations: 4 kB / 0.6218 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002134/0.003991, allocations: 93.58 kB / 0.6219 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.004017, allocations: 51.41 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.663e-05/0.004074, allocations: 113.8 kB / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.297e-06/0.004083, allocations: 25.7 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.004119, allocations: 88.09 kB / 0.6221 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.195e-05/0.004131, allocations: 7.938 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.004158, allocations: 25.83 kB / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.797e-05/0.004226, allocations: 314.8 kB / 0.6225 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-05/0.004269, allocations: 19.98 kB / 0.6225 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.641e-05/0.004305, allocations: 15.97 kB / 0.6225 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.929e-05/0.004384, allocations: 40.83 kB / 0.6225 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.004386, allocations: 0 / 0.6225 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001004/0.004486, allocations: 81.61 kB / 0.6226 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.004498, allocations: 9.859 kB / 0.6226 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.004501, allocations: 256 / 0.6226 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.004512, allocations: 0 / 0.6226 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.099e-05/0.004573, allocations: 12 kB / 0.6226 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.004579, allocations: 7.922 kB / 0.6227 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.267e-05/0.004601, allocations: 4 kB / 0.6227 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.004606, allocations: 3.938 kB / 0.6227 GB, free: 9.578 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: 1 (intRep.y[3]) * 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 7.208e-05/0.004678, allocations: 122.8 kB / 0.6228 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.00469, allocations: 3.938 kB / 0.6228 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.533e-05/0.004705, allocations: 7.266 kB / 0.6228 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.004708, allocations: 4 kB / 0.6228 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.004711, allocations: 0 / 0.6228 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.004713, allocations: 0 / 0.6228 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.004826, allocations: 113.3 kB / 0.6229 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.004827, allocations: 0 / 0.6229 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.607e-05/0.004853, allocations: 7.984 kB / 0.6229 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.004854, allocations: 3.938 kB / 0.6229 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.00486, allocations: 7.938 kB / 0.6229 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.00486, allocations: 4 kB / 0.6229 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.004861, allocations: 0 / 0.6229 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.004984, allocations: 155.5 kB / 0.6231 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.004992, allocations: 15.88 kB / 0.6231 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.005002, allocations: 7.938 kB / 0.6231 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.005038, allocations: 4 kB / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.005075, allocations: 3.984 kB / 0.6231 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.005077, allocations: 8.031 kB / 0.6231 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.545e-05/0.005103, allocations: 83.28 kB / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005103, allocations: 0 / 0.6232 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001428/0.005246, allocations: 4 kB / 0.6232 GB, free: 8.977 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: 1 (intRep.y[3]) * 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 6.355e-05/0.005309, allocations: 99.23 kB / 0.6233 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.005427, allocations: 35.95 kB / 0.6233 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.005428, allocations: 4 kB / 0.6233 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.22e-05/0.005471, allocations: 24.05 kB / 0.6234 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.005636, allocations: 4 kB / 0.6234 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.005861, allocations: 154.5 kB / 0.6235 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.131e-05/0.005903, allocations: 63.34 kB / 0.6236 GB, free: 8.539 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.005929, allocations: 8.5 kB / 0.6236 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of SimCode: time 3.51e-07/0.00593, allocations: 0 / 0.6236 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of Templates: time 0.001337/0.007267, allocations: 0.6997 MB / 0.6243 GB, free: 7.84 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.88950967695564] Failed to read output from testmodel.py, exit status != 0: 0.011313345283269882 0.018822967 0.014757664 Calling exit ...