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.0007482/0.0007482, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0008909/0.0008909, allocations: 219.2 kB / 22.26 MB, free: 3.84 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.988/0.988, allocations: 230.6 MB / 256 MB, free: 9.801 MB / 202.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.8057/0.8057, allocations: 203.8 MB / 0.5042 GB, free: 10.59 MB / 410.7 MB " [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.IntegerScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.0009618/0.0009618, allocations: 67.59 kB / 0.7182 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/0.5812, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001533/0.5827, allocations: 0.6696 MB / 0.8185 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008154/0.5835, allocations: 0.8626 MB / 0.8193 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.5836, allocations: 3.938 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.5837, allocations: 0.6094 kB / 0.8194 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.423e-05/0.5837, allocations: 15.88 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001918/0.5839, allocations: 20.23 kB / 0.8194 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.584, allocations: 29.94 kB / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.5841, allocations: 9.906 kB / 0.8194 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.685e-05/0.5842, allocations: 15.45 kB / 0.8194 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.5842, allocations: 19.2 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.5843, allocations: 2.875 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.5843, allocations: 5.562 kB / 0.8195 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.5843, allocations: 11.61 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.5844, allocations: 18.02 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.5845, allocations: 42.17 kB / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5845, allocations: 0 / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5845, allocations: 0 / 0.8195 GB, free: 92 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.5845, allocations: 0 / 0.8195 GB, free: 92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004742/0.585, allocations: 279.5 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.585, allocations: 11.09 kB / 0.8198 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.708e-05/0.5851, allocations: 36.06 kB / 0.8198 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.5851, allocations: 5.312 kB / 0.8199 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.5852, allocations: 112.8 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.5853, allocations: 4.375 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.5853, allocations: 3.875 kB / 0.82 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.5854, allocations: 67.27 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.5855, allocations: 3.938 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5855, allocations: 1.031 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5855, allocations: 3.938 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.5856, allocations: 41.92 kB / 0.8201 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.586, allocations: 260.8 kB / 0.8203 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.969e-05/0.5861, allocations: 40.58 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.702e-05/0.5861, allocations: 19.88 kB / 0.8204 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.5861, allocations: 8.5 kB / 0.8204 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.5862, allocations: 34.56 kB / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.833e-06/0.5862, allocations: 0 / 0.8204 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002616/0.5864, allocations: 92.05 kB / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.5865, allocations: 51.41 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.5865, allocations: 103.7 kB / 0.8207 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.5865, allocations: 27.64 kB / 0.8207 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.5866, allocations: 93.08 kB / 0.8208 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.5866, allocations: 3.953 kB / 0.8208 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.5866, allocations: 17.05 kB / 0.8208 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.5867, allocations: 321.3 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.905e-05/0.5868, allocations: 15.59 kB / 0.8211 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.5868, allocations: 20.09 kB / 0.8211 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.186e-05/0.5869, allocations: 45.03 kB / 0.8212 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5869, allocations: 0 / 0.8212 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001338/0.5871, allocations: 73.95 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5871, allocations: 4.625 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5871, allocations: 2.656 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.5871, allocations: 0 / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.872e-05/0.5872, allocations: 14.41 kB / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.5872, allocations: 0 / 0.8213 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.5872, allocations: 23.53 kB / 0.8213 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.5872, allocations: 0.7031 kB / 0.8213 GB, free: 14.48 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: 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 0.000143/0.5874, allocations: 119.4 kB / 0.8214 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.5874, allocations: 2.641 kB / 0.8214 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.5874, allocations: 11.61 kB / 0.8214 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5874, allocations: 0.6094 kB / 0.8214 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5874, allocations: 4 kB / 0.8214 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5874, allocations: 0 / 0.8214 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.5876, allocations: 141.5 kB / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5876, allocations: 0 / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.859e-05/0.5876, allocations: 8.25 kB / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.5876, allocations: 1.031 kB / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.5876, allocations: 1.312 kB / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5876, allocations: 0 / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5876, allocations: 0 / 0.8216 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001787/0.5878, allocations: 174.2 kB / 0.8217 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.5878, allocations: 5.594 kB / 0.8217 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.5878, allocations: 3.688 kB / 0.8217 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.5879, allocations: 5.078 kB / 0.8218 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.5879, allocations: 7.922 kB / 0.8218 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.5879, allocations: 1.125 kB / 0.8218 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.959e-05/0.588, allocations: 85.03 kB / 0.8218 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.588, allocations: 0 / 0.8218 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001462/0.5881, allocations: 4.875 kB / 0.8218 GB, free: 13.95 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: 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 0.000404/0.5885, allocations: 0.7126 MB / 0.8225 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.5887, allocations: 36.33 kB / 0.8226 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.5887, allocations: 0 / 0.8226 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.296e-05/0.5887, allocations: 23.81 kB / 0.8226 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.5889, allocations: 6.703 kB / 0.8226 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.5901, allocations: 1.263 MB / 0.8238 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002481/0.5903, allocations: 0.6806 MB / 0.8245 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.039e-05/0.5904, allocations: 6.5 kB / 0.8245 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.5904, allocations: 12.31 kB / 0.8245 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.5904, allocations: 4.031 kB / 0.8245 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.6093, allocations: 1.627 MB / 0.8261 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.551/7.161, allocations: 11.17 kB / 0.8261 GB, free: 10.91 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.23744982201606] Failed to read output from testmodel.py, exit status != 0: 7.238270580070093 7.249485147 6.6628501 Calling exit ...