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.001388/0.001388, allocations: 75.02 kB / 19.16 MB, free: 2.566 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.001495/0.001495, allocations: 166.4 kB / 22.44 MB, free: 5.316 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.443/1.443, allocations: 177.2 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 1.168/1.168, allocations: 155 MB / 414.2 MB, free: 4.926 MB / 382.1 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 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 75 kB / 0.6191 GB, free: 4.164 MB / 0.5294 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5348/0.5369, allocations: 102 MB / 0.7187 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001683/0.5386, allocations: 0.6395 MB / 0.7193 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.5393, allocations: 0.8223 MB / 0.7201 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.5394, allocations: 1.438 kB / 0.7201 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.221e-05/0.5395, allocations: 0.6094 kB / 0.7202 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.131e-05/0.5395, allocations: 3.938 kB / 0.7202 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001002/0.5396, allocations: 12.42 kB / 0.7202 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.7e-05/0.5397, allocations: 28.67 kB / 0.7202 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.5398, allocations: 8.484 kB / 0.7202 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.5398, allocations: 15.42 kB / 0.7202 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.5399, allocations: 10.59 kB / 0.7202 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.5399, allocations: 2.344 kB / 0.7202 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.023e-06/0.5399, allocations: 6.5 kB / 0.7202 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.5399, allocations: 8.516 kB / 0.7202 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.568e-05/0.54, allocations: 11.38 kB / 0.7203 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.807e-05/0.5401, allocations: 30.45 kB / 0.7203 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5401, allocations: 0 / 0.7203 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5401, allocations: 1.281 kB / 0.7203 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5401, allocations: 0 / 0.7203 GB, free: 0.6836 MB / 0.6075 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.0003555/0.5404, allocations: 266.7 kB / 0.7205 GB, free: 428 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.5405, allocations: 15.59 kB / 0.7206 GB, free: 424 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.5405, allocations: 6.328 kB / 0.7206 GB, free: 420 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.5406, allocations: 117 kB / 0.7207 GB, free: 284 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.5406, allocations: 1.844 kB / 0.7207 GB, free: 284 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.5406, allocations: 1.562 kB / 0.7207 GB, free: 284 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.5408, allocations: 53.78 kB / 0.7207 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.5408, allocations: 192 / 0.7207 GB, free: 248 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.5408, allocations: 8.594 kB / 0.7207 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.5408, allocations: 1.219 kB / 0.7207 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.541, allocations: 33.64 kB / 0.7208 GB, free: 236 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002988/0.5413, allocations: 229.9 kB / 0.721 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.5414, allocations: 36.88 kB / 0.721 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/0.5415, allocations: 19.17 kB / 0.721 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.5415, allocations: 0 / 0.721 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.5415, allocations: 32.84 kB / 0.7211 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.5415, allocations: 0 / 0.7211 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0003326/0.5419, allocations: 87.66 kB / 0.7212 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.5419, allocations: 53.45 kB / 0.7212 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.542, allocations: 101.8 kB / 0.7213 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.542, allocations: 26.31 kB / 0.7213 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.5421, allocations: 91.69 kB / 0.7214 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.402e-05/0.5421, allocations: 1.25 kB / 0.7214 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.5421, allocations: 15.92 kB / 0.7214 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5423, allocations: 313.9 kB / 0.7217 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.775e-05/0.5424, allocations: 13.22 kB / 0.7217 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.893e-05/0.5425, allocations: 21.08 kB / 0.7218 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.5426, allocations: 40.11 kB / 0.7218 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5426, allocations: 9.062 kB / 0.7218 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001861/0.5428, allocations: 57.28 kB / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.5428, allocations: 4.594 kB / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5428, allocations: 4.703 kB / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.5428, allocations: 1.438 kB / 0.7219 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.5429, allocations: 10.81 kB / 0.7219 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.5429, allocations: 0 / 0.7219 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.543, allocations: 6.984 kB / 0.7219 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.543, allocations: 0 / 0.7219 GB, free: 15.19 MB / 0.6231 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 0.0001229/0.5431, allocations: 115.2 kB / 0.722 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.5431, allocations: 9.406 kB / 0.722 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.823e-05/0.5432, allocations: 7.906 kB / 0.722 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5432, allocations: 6.328 kB / 0.722 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5432, allocations: 0 / 0.722 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-06/0.5432, allocations: 0 / 0.722 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.5433, allocations: 110.3 kB / 0.7221 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.5433, allocations: 0 / 0.7221 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.5434, allocations: 11.34 kB / 0.7221 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5434, allocations: 5.062 kB / 0.7221 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.5434, allocations: 0 / 0.7221 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5434, allocations: 1.734 kB / 0.7221 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5434, allocations: 0 / 0.7221 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.5436, allocations: 164.5 kB / 0.7223 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 1.125e-05/0.5436, allocations: 6.422 kB / 0.7223 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.5437, allocations: 1.938 kB / 0.7223 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.135e-05/0.5437, allocations: 5.516 kB / 0.7223 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.647e-05/0.5438, allocations: 2.297 kB / 0.7223 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-06/0.5438, allocations: 0 / 0.7223 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.5438, allocations: 85.39 kB / 0.7224 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.5438, allocations: 0 / 0.7224 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002078/0.544, allocations: 3.5 kB / 0.7224 GB, free: 14.7 MB / 0.6231 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.51e-05/0.5441, allocations: 102.7 kB / 0.7225 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.5443, allocations: 36.86 kB / 0.7225 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5443, allocations: 0 / 0.7225 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.153e-05/0.5444, allocations: 15.19 kB / 0.7226 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.5447, allocations: 15.69 kB / 0.7226 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.545, allocations: 112 kB / 0.7227 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.092e-05/0.5451, allocations: 62.64 kB / 0.7227 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.5451, allocations: 3.281 kB / 0.7227 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.5451, allocations: 9.531 kB / 0.7227 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.5451, allocations: 0 / 0.7227 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of Templates: time 0.002891/0.548, allocations: 475.2 kB / 0.7232 GB, free: 14.3 MB / 0.6231 GB " [Timeout remaining time 659] 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: 6.04815006069839] Failed to read output from testmodel.py, exit status != 0: 0.5565745551139116 0.571376458 0.028252842 Calling exit ...