Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007173/0.0007173, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.000724/0.000724, 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.8221/0.8221, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190: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-531:198: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.6716/0.6716, allocations: 154.5 MB / 414.5 MB, free: 0.8398 MB / 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.RealScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.862e-05/3.151e-05, allocations: 8.375 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.00136/0.001392, allocations: 0.6319 MB / 0.6199 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007794/0.002171, allocations: 0.8121 MB / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.002215, allocations: 0 / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 8.829e-05/0.002303, allocations: 3.938 kB / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.911e-05/0.002322, allocations: 7.938 kB / 0.6207 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.002426, allocations: 7.984 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.214e-05/0.002498, allocations: 31.91 kB / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.887e-05/0.002587, allocations: 0 / 0.6207 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.469e-05/0.002641, allocations: 11.98 kB / 0.6207 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.239e-05/0.002694, allocations: 15.98 kB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.002717, allocations: 4 kB / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.48e-06/0.002722, allocations: 0 / 0.6208 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.002779, allocations: 7.938 kB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.002808, allocations: 8 kB / 0.6208 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.674e-05/0.002895, allocations: 31.88 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.002898, allocations: 0 / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.344e-06/0.0029, allocations: 3.984 kB / 0.6208 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.002905, allocations: 7.938 kB / 0.6208 GB, free: 11.61 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.0004089/0.003314, allocations: 266.3 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.003356, allocations: 13.47 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.003391, allocations: 0.9375 kB / 0.6211 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.003512, allocations: 113.7 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.003523, allocations: 8.312 kB / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.003531, allocations: 384 / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.003687, allocations: 58.23 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.003696, allocations: 192 / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.003704, allocations: 384 / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.003711, allocations: 4.359 kB / 0.6213 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.003794, allocations: 43.89 kB / 0.6213 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.004101, allocations: 216.5 kB / 0.6215 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.337e-05/0.004175, allocations: 34.56 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.00422, allocations: 20.89 kB / 0.6216 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.004232, allocations: 0 / 0.6216 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.004254, allocations: 34.5 kB / 0.6216 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 2.244e-06/0.004256, allocations: 7.938 kB / 0.6216 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002214/0.004478, allocations: 77.64 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.004511, allocations: 55.41 kB / 0.6217 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.801e-05/0.004579, allocations: 97.86 kB / 0.6218 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.004591, allocations: 25.7 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.004632, allocations: 92.08 kB / 0.6219 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.004649, allocations: 0 / 0.6219 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.004678, allocations: 13.72 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.406e-05/0.004762, allocations: 319 kB / 0.6223 GB, free: 9.973 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/0.00481, allocations: 11.98 kB / 0.6223 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.004846, allocations: 19.97 kB / 0.6223 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.21e-05/0.004918, allocations: 32.77 kB / 0.6223 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00492, allocations: 0 / 0.6223 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001074/0.005028, allocations: 77.61 kB / 0.6224 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.005042, allocations: 4 kB / 0.6224 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.005047, allocations: 3.938 kB / 0.6224 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.005065, allocations: 256 / 0.6224 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.005128, allocations: 4 kB / 0.6224 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.005135, allocations: 4 kB / 0.6224 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.267e-05/0.005157, allocations: 11.98 kB / 0.6224 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.005165, allocations: 4 kB / 0.6224 GB, free: 9.793 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 5.656e-05/0.005221, allocations: 106.9 kB / 0.6225 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.005235, allocations: 11.94 kB / 0.6225 GB, free: 9.668 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.005255, allocations: 7.141 kB / 0.6225 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.005258, allocations: 0 / 0.6225 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.005263, allocations: 0 / 0.6225 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.005265, allocations: 0 / 0.6225 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.138e-05/0.005357, allocations: 105.3 kB / 0.6226 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.005358, allocations: 0 / 0.6226 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.728e-05/0.005385, allocations: 11.94 kB / 0.6227 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.005387, allocations: 3.938 kB / 0.6227 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.005394, allocations: 3.938 kB / 0.6227 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.005396, allocations: 7.984 kB / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.005397, allocations: 0 / 0.6227 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.005548, allocations: 151.5 kB / 0.6228 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-06/0.005556, allocations: 7.984 kB / 0.6228 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.005568, allocations: 3.938 kB / 0.6228 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.005602, allocations: 4 kB / 0.6228 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.005641, allocations: 3.984 kB / 0.6228 GB, free: 9.312 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.005646, allocations: 4 kB / 0.6228 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.005681, allocations: 83.31 kB / 0.6229 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005681, allocations: 0 / 0.6229 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001382/0.005819, allocations: 7.953 kB / 0.6229 GB, free: 9.219 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 9.962e-05/0.005918, allocations: 99.19 kB / 0.623 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001244/0.006043, allocations: 35.89 kB / 0.6231 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006044, allocations: 0 / 0.6231 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-05/0.006082, allocations: 20.05 kB / 0.6231 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.006325, allocations: 4 kB / 0.6231 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.006867, allocations: 130.6 kB / 0.6232 GB, free: 8.895 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.453e-05/0.006912, allocations: 63.34 kB / 0.6233 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.006936, allocations: 8.5 kB / 0.6233 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.006937, allocations: 7.938 kB / 0.6233 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of Templates: time 0.001522/0.008459, allocations: 0.5971 MB / 0.6239 GB, free: 8.207 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.961385929957032] Failed to read output from testmodel.py, exit status != 0: 0.013710111379623413 0.022014257000000002 0.016987496 Calling exit ...