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.001216/0.001216, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009943/0.0009943, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.943/0.943, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7201/0.7201, allocations: 154.5 MB / 413.7 MB, free: 0.8086 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.363e-05, allocations: 2.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.0016/0.001623, allocations: 0.6253 MB / 0.6186 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.00262, allocations: 0.8237 MB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.002669, allocations: 0 / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.002775, allocations: 3.938 kB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.131e-05/0.002796, allocations: 0 / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.002916, allocations: 15.97 kB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.864e-05/0.002994, allocations: 19.92 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.003096, allocations: 8 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.845e-05/0.003164, allocations: 15.92 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.003218, allocations: 15.92 kB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.003243, allocations: 4 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.081e-06/0.003249, allocations: 4 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.003302, allocations: 4 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.003335, allocations: 11.92 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.035e-05/0.003425, allocations: 31.94 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003427, allocations: 0 / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.593e-06/0.003429, allocations: 0 / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.003433, allocations: 0 / 0.6196 GB, free: 12.13 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.0003927/0.003826, allocations: 266.3 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.003869, allocations: 13.47 kB / 0.6198 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.003906, allocations: 30.75 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.003926, allocations: 4.938 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.004056, allocations: 121.7 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.004068, allocations: 4.375 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.004076, allocations: 384 / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.004226, allocations: 58.23 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.004234, allocations: 4.125 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.004243, allocations: 8.297 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.004249, allocations: 4.125 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.004356, allocations: 35.97 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003504/0.004706, allocations: 240 kB / 0.6203 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.391e-05/0.00479, allocations: 34.44 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.989e-05/0.00485, allocations: 20.91 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.004861, allocations: 0 / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.004883, allocations: 34.56 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.004884, allocations: 0 / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0002499/0.005134, allocations: 77.64 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.005169, allocations: 51.41 kB / 0.6205 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.499e-05/0.005244, allocations: 101.8 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.005257, allocations: 29.7 kB / 0.6207 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.005304, allocations: 95.97 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.005321, allocations: 3.938 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.005351, allocations: 13.72 kB / 0.6208 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.005448, allocations: 314.8 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-05/0.005502, allocations: 20.11 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/0.005548, allocations: 11.98 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.005648, allocations: 36.83 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00565, allocations: 0 / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001358/0.005786, allocations: 73.61 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.005801, allocations: 4 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.005805, allocations: 0 / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.005819, allocations: 0 / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.204e-05/0.005891, allocations: 15.92 kB / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.005895, allocations: 0 / 0.6212 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.005927, allocations: 7.984 kB / 0.6212 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.005932, allocations: 0 / 0.6212 GB, free: 10.23 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 7.534e-05/0.006008, allocations: 114.8 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.006027, allocations: 3.938 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.991e-05/0.006047, allocations: 7.188 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006048, allocations: 0 / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.006053, allocations: 0 / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.006056, allocations: 0 / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.006192, allocations: 136.9 kB / 0.6215 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.006194, allocations: 4 kB / 0.6215 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.006226, allocations: 7.984 kB / 0.6215 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.006229, allocations: 0 / 0.6215 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.006234, allocations: 4 kB / 0.6215 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.006235, allocations: 0 / 0.6215 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.006236, allocations: 4 kB / 0.6215 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.006401, allocations: 155.5 kB / 0.6217 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.006411, allocations: 11.89 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.006422, allocations: 0 / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.736e-05/0.006479, allocations: 7.984 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.00652, allocations: 4 kB / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.006523, allocations: 0 / 0.6217 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.603e-05/0.006559, allocations: 83.27 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006559, allocations: 4.031 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002175/0.006777, allocations: 4 kB / 0.6218 GB, free: 9.621 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 0.0003954/0.007172, allocations: 0.689 MB / 0.6224 GB, free: 8.906 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.007334, allocations: 31.91 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.007336, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.039e-05/0.007387, allocations: 20.08 kB / 0.6225 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.007658, allocations: 7.922 kB / 0.6225 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.008723, allocations: 1.226 MB / 0.6237 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.512e-05/0.008778, allocations: 67.44 kB / 0.6238 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.008812, allocations: 4 kB / 0.6238 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.008854, allocations: 12.5 kB / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.008854, allocations: 0 / 0.6238 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.02485, allocations: 1.961 MB / 0.6257 GB, free: 5.633 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.747/6.772, allocations: 13.3 kB / 0.6257 GB, free: 5.629 MB / 0.5886 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.491684580221772] Failed to read output from testmodel.py, exit status != 0: 6.853275265544653 6.861360474 6.856099734 Calling exit ...