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.0008532/0.0008532, 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.0009505/0.0009505, 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.8934/0.8934, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.7139/0.7139, allocations: 154.5 MB / 413.7 MB, free: 0.8047 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.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: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.798e-05, allocations: 5.094 kB / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001149/0.001167, allocations: 0.653 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000768/0.001935, allocations: 0.8509 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.001981, allocations: 0 / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.002104, allocations: 11.86 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.148e-05/0.002126, allocations: 0 / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.00229, allocations: 19.86 kB / 0.6195 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.377e-05/0.002364, allocations: 39.91 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.00246, allocations: 4 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.573e-05/0.002516, allocations: 23.92 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.002573, allocations: 11.98 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.665e-05/0.0026, allocations: 4 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.002609, allocations: 4 kB / 0.6196 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.002664, allocations: 11.97 kB / 0.6196 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.429e-05/0.002688, allocations: 7.938 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.282e-05/0.002781, allocations: 43.92 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.002783, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.72e-07/0.002783, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.002788, allocations: 4 kB / 0.6197 GB, free: 12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000364/0.003152, allocations: 270.3 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.003191, allocations: 9.469 kB / 0.62 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.003221, allocations: 38.75 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.93e-05/0.00324, allocations: 4.875 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.00336, allocations: 125.6 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.003379, allocations: 4.375 kB / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-06/0.003387, allocations: 384 / 0.6201 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.00352, allocations: 66.22 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.003527, allocations: 4.188 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.003536, allocations: 384 / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.003541, allocations: 4.125 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.914e-05/0.00364, allocations: 43.95 kB / 0.6202 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.003928, allocations: 235.9 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.324e-05/0.004011, allocations: 42.5 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.004056, allocations: 28.89 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.004071, allocations: 4 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.004088, allocations: 34.56 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.004089, allocations: 0 / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002133/0.004302, allocations: 93.47 kB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.004329, allocations: 55.41 kB / 0.6207 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.522e-05/0.004385, allocations: 105.8 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.004394, allocations: 25.83 kB / 0.6208 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.00443, allocations: 92.09 kB / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/0.004441, allocations: 80 / 0.6209 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.004468, allocations: 21.7 kB / 0.6209 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.668e-05/0.004545, allocations: 310.8 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.004587, allocations: 19.98 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.786e-05/0.004625, allocations: 19.97 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.008e-05/0.004705, allocations: 52.81 kB / 0.6213 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.004708, allocations: 7.875 kB / 0.6213 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.783e-05/0.004805, allocations: 69.61 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.004816, allocations: 6.188 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.00482, allocations: 3.984 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.004829, allocations: 4 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.004901, allocations: 7.984 kB / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.004905, allocations: 0 / 0.6214 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.004928, allocations: 8.031 kB / 0.6214 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.004933, allocations: 4 kB / 0.6214 GB, free: 10.02 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: 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 8.499e-05/0.005018, allocations: 118.8 kB / 0.6215 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.005031, allocations: 4 kB / 0.6215 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.81e-05/0.005049, allocations: 7.312 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.00505, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.005054, allocations: 256 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.005056, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.965e-05/0.005156, allocations: 140.7 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.005156, allocations: 0 / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.005184, allocations: 19.92 kB / 0.6217 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.005185, allocations: 0 / 0.6217 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.005191, allocations: 0 / 0.6217 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005192, allocations: 0 / 0.6217 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.005193, allocations: 4 kB / 0.6217 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.005318, allocations: 167.4 kB / 0.6219 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-06/0.005326, allocations: 7.953 kB / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-06/0.005336, allocations: 0 / 0.6219 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.675e-05/0.005372, allocations: 12.02 kB / 0.6219 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.005412, allocations: 4 kB / 0.6219 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.005415, allocations: 4 kB / 0.6219 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.005443, allocations: 83.27 kB / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.005443, allocations: 0 / 0.622 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001412/0.005584, allocations: 7.938 kB / 0.622 GB, free: 9.375 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: 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.0003235/0.005908, allocations: 0.7045 MB / 0.6227 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001289/0.006037, allocations: 43.95 kB / 0.6227 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.006038, allocations: 0 / 0.6227 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.514e-05/0.006083, allocations: 23.97 kB / 0.6227 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001751/0.006258, allocations: 7.938 kB / 0.6227 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008887/0.007147, allocations: 1.257 MB / 0.624 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.711e-05/0.007194, allocations: 67.33 kB / 0.624 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.739e-05/0.007221, allocations: 4 kB / 0.624 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.007261, allocations: 16.5 kB / 0.6241 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.007262, allocations: 4.031 kB / 0.6241 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.02141, allocations: 2.19 MB / 0.6262 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.821/6.842, allocations: 14.14 kB / 0.6262 GB, free: 5.082 MB / 0.5886 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: 9.597492550499737] Failed to read output from testmodel.py, exit status != 0: 6.923660389147699 6.939415225 6.9339023 Calling exit ...