Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001197/0.001197, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.001709/0.001709, allocations: 216 kB / 22.25 MB, free: 3.73 MB / 13.93 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.9615/0.9615, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.7759/0.7759, allocations: 203.5 MB / 0.5039 GB, free: 10.72 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [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.0007987/0.0007987, allocations: 70.92 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5249/0.5257, allocations: 102 MB / 0.8174 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001402/0.5271, allocations: 0.6271 MB / 0.818 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006856/0.5278, allocations: 0.8156 MB / 0.8188 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.524e-05/0.5278, allocations: 7.281 kB / 0.8188 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.446e-05/0.5279, allocations: 7.938 kB / 0.8188 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.015e-05/0.5279, allocations: 3.938 kB / 0.8188 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.5281, allocations: 9.406 kB / 0.8188 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.33e-05/0.5281, allocations: 26.77 kB / 0.8188 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.5282, allocations: 4.891 kB / 0.8188 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.5283, allocations: 9.109 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.1e-05/0.5283, allocations: 14.48 kB / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.5283, allocations: 2.375 kB / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.5283, allocations: 2.719 kB / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.5284, allocations: 14.47 kB / 0.8189 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.5284, allocations: 10.67 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.853e-05/0.5285, allocations: 27.78 kB / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5285, allocations: 1.312 kB / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5285, allocations: 0 / 0.8189 GB, free: 156 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.5285, allocations: 0 / 0.8189 GB, free: 156 kB / 0.6042 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.000363/0.5289, allocations: 265.4 kB / 0.8192 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5289, allocations: 11.25 kB / 0.8192 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.529, allocations: 35.55 kB / 0.8192 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.032e-05/0.529, allocations: 6.297 kB / 0.8192 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.5291, allocations: 118 kB / 0.8193 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.5291, allocations: 1.078 kB / 0.8193 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.5291, allocations: 8.312 kB / 0.8194 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.5293, allocations: 55.25 kB / 0.8194 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.5293, allocations: 3.938 kB / 0.8194 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.5293, allocations: 0 / 0.8194 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5293, allocations: 1.75 kB / 0.8194 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.095e-05/0.5294, allocations: 34.81 kB / 0.8194 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.5297, allocations: 258 kB / 0.8197 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.749e-05/0.5298, allocations: 33.03 kB / 0.8197 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.5299, allocations: 18.59 kB / 0.8197 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.5299, allocations: 0 / 0.8197 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.5299, allocations: 33.27 kB / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.5299, allocations: 0 / 0.8198 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002344/0.5301, allocations: 84.03 kB / 0.8198 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.5302, allocations: 54.67 kB / 0.8199 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.004e-05/0.5302, allocations: 106.2 kB / 0.82 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.5302, allocations: 25.7 kB / 0.82 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.5303, allocations: 87.88 kB / 0.8201 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.5303, allocations: 2.844 kB / 0.8201 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.5303, allocations: 12.41 kB / 0.8201 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.5304, allocations: 320.2 kB / 0.8204 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.5305, allocations: 16.62 kB / 0.8204 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.5305, allocations: 18.92 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.443e-05/0.5306, allocations: 31.09 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5306, allocations: 0.9062 kB / 0.8205 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001141/0.5307, allocations: 65.17 kB / 0.8206 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5307, allocations: 10.42 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5307, allocations: 0 / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5307, allocations: 0 / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.5308, allocations: 9.141 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5308, allocations: 0 / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.5308, allocations: 6.484 kB / 0.8206 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.5308, allocations: 7.922 kB / 0.8206 GB, free: 14.59 MB / 0.6198 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 6.578e-05/0.5309, allocations: 118.6 kB / 0.8207 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.5309, allocations: 3.953 kB / 0.8207 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.5309, allocations: 11.67 kB / 0.8207 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5309, allocations: 1.922 kB / 0.8207 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5309, allocations: 3.938 kB / 0.8207 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5309, allocations: 0 / 0.8207 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.5311, allocations: 131.7 kB / 0.8208 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.5311, allocations: 1.219 kB / 0.8208 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.732e-05/0.5311, allocations: 9.25 kB / 0.8209 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5311, allocations: 0.6562 kB / 0.8209 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.5311, allocations: 0 / 0.8209 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5311, allocations: 0 / 0.8209 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5311, allocations: 0.5625 kB / 0.8209 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.5313, allocations: 168 kB / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-06/0.5313, allocations: 2.797 kB / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.5313, allocations: 0 / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.708e-05/0.5313, allocations: 7.375 kB / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.5313, allocations: 1.125 kB / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.5314, allocations: 1.625 kB / 0.821 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.21e-05/0.5314, allocations: 88.58 kB / 0.8211 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5314, allocations: 0 / 0.8211 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001405/0.5315, allocations: 9.062 kB / 0.8211 GB, free: 14.05 MB / 0.6198 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.000331/0.5319, allocations: 0.6921 MB / 0.8218 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.532, allocations: 29.75 kB / 0.8218 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.532, allocations: 0.8438 kB / 0.8218 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.382e-05/0.532, allocations: 25.61 kB / 0.8219 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.5323, allocations: 0.5625 kB / 0.8219 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009492/0.5332, allocations: 1.233 MB / 0.8231 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.053e-05/0.5333, allocations: 66.27 kB / 0.8231 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.537e-05/0.5333, allocations: 1.172 kB / 0.8231 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.5334, allocations: 16.27 kB / 0.8231 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of SimCode: time 4.91e-07/0.5334, allocations: 3.938 kB / 0.8231 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.552, allocations: 1.823 MB / 0.8249 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.524/7.076, allocations: 8.141 kB / 0.8249 GB, free: 11.25 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.122145226690918] Failed to read output from testmodel.py, exit status != 0: 7.154378787614405 7.17003361 6.639171335 Calling exit ...