Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001032/0.001032, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001012/0.001012, allocations: 169 kB / 23.27 MB, free: 1.223 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.945/0.945, allocations: 177.1 MB / 203.7 MB, free: 5.5 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-535:34: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-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.768/0.768, allocations: 154.9 MB / 415.1 MB, free: 284 kB / 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.5211 GB, free: 1.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.385e-05, allocations: 4.281 kB / 0.5211 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001284/0.001308, allocations: 0.6581 MB / 0.5218 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000754/0.002062, allocations: 0.8648 MB / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.002106, allocations: 0 / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 8.153e-05/0.002187, allocations: 9.672 kB / 0.5226 GB, free: 32 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.418e-05/0.002211, allocations: 8.203 kB / 0.5226 GB, free: 24 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.002341, allocations: 24.91 kB / 0.5227 GB, free: 0 / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.007e-05/0.002411, allocations: 31.91 kB / 0.5227 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.638e-05/0.002487, allocations: 8.969 kB / 0.5227 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.002551, allocations: 19.97 kB / 0.5227 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.002601, allocations: 15.92 kB / 0.5227 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.002618, allocations: 5.719 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.002628, allocations: 4 kB / 0.5227 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.002669, allocations: 7.984 kB / 0.5227 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.002692, allocations: 8 kB / 0.5228 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 7.939e-05/0.002771, allocations: 35.83 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.002773, allocations: 0.5625 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002773, allocations: 1.344 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.002776, allocations: 0 / 0.5228 GB, free: 15.87 MB / 0.4948 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.0002948/0.003071, allocations: 372.6 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.003103, allocations: 8.969 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.339e-05/0.003127, allocations: 4.938 kB / 0.5232 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.124e-05/0.003218, allocations: 116.6 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.003231, allocations: 5.594 kB / 0.5233 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.003239, allocations: 4.359 kB / 0.5233 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.003342, allocations: 62.94 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.003349, allocations: 8.75 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.003355, allocations: 2.188 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.00336, allocations: 4.375 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.003382, allocations: 7.938 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002067/0.003588, allocations: 252.3 kB / 0.5236 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.147e-05/0.00363, allocations: 36.38 kB / 0.5236 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.003646, allocations: 15.75 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.00366, allocations: 0 / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.00368, allocations: 41.89 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.003682, allocations: 1.188 kB / 0.5237 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001135/0.003795, allocations: 41.64 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.003818, allocations: 51.41 kB / 0.5238 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.158e-05/0.00388, allocations: 174.6 kB / 0.5239 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.003889, allocations: 26.33 kB / 0.524 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.00393, allocations: 134.8 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.003941, allocations: 5.266 kB / 0.5241 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.003967, allocations: 23.36 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.004078, allocations: 496.1 kB / 0.5246 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.004089, allocations: 4.906 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-06/0.004097, allocations: 0 / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.297e-05/0.00412, allocations: 12.22 kB / 0.5246 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.004121, allocations: 7.469 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.312e-05/0.004165, allocations: 41.64 kB / 0.5247 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.004174, allocations: 11.88 kB / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.004178, allocations: 0 / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.004188, allocations: 0 / 0.5247 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.004243, allocations: 11.98 kB / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.004245, allocations: 0 / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.004262, allocations: 0 / 0.5247 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.004266, allocations: 4.625 kB / 0.5247 GB, free: 13.73 MB / 0.4948 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 6.303e-05/0.004329, allocations: 161.1 kB / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.004342, allocations: 3.938 kB / 0.5248 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.004362, allocations: 11.83 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.62e-07/0.004363, allocations: 4.875 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.004364, allocations: 0 / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.004367, allocations: 0 / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.984e-05/0.004447, allocations: 98.8 kB / 0.525 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.00445, allocations: 7.984 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.973e-05/0.004469, allocations: 7.984 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.004471, allocations: 0.8125 kB / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-06/0.004474, allocations: 0 / 0.525 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.004476, allocations: 4.188 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.004476, allocations: 0.5312 kB / 0.525 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.555e-05/0.004562, allocations: 193.7 kB / 0.5252 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-06/0.004567, allocations: 3.953 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.444e-06/0.004574, allocations: 4 kB / 0.5252 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.999e-05/0.004604, allocations: 3.938 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.00464, allocations: 14.73 kB / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.004643, allocations: 0 / 0.5252 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.004677, allocations: 131.2 kB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004677, allocations: 0 / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001287/0.004806, allocations: 4 kB / 0.5253 GB, free: 13.04 MB / 0.4948 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.627e-05/0.004872, allocations: 97.12 kB / 0.5254 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.506e-05/0.004927, allocations: 23.67 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.004928, allocations: 0 / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.906e-05/0.004947, allocations: 15.62 kB / 0.5254 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.005104, allocations: 4.938 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002142/0.005319, allocations: 130.8 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.00535, allocations: 60 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.924e-05/0.005369, allocations: 3.094 kB / 0.5256 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.005415, allocations: 74.2 kB / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.005416, allocations: 0 / 0.5257 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of Templates: time 0.002029/0.007445, allocations: 0.7085 MB / 0.5264 GB, free: 11.91 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4534474057145417]