Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.0009832/0.0009832, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001354/0.001354, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9581/0.9581, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7183/0.7183, allocations: 154.5 MB / 413.7 MB, free: 0.8516 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.IntegerVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.584e-06/7.584e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.733e-05/4.491e-05, allocations: 2.281 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001539/0.001583, allocations: 0.6586 MB / 0.6187 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008104/0.002394, allocations: 0.8548 MB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.148e-05/0.002445, allocations: 0 / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.002576, allocations: 7.922 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.002696, allocations: 7.938 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.002842, allocations: 31.84 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.00297, allocations: 67.83 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.003158, allocations: 19.97 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.245e-05/0.003251, allocations: 47.91 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.003368, allocations: 39.89 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.297e-05/0.003401, allocations: 4 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.003415, allocations: 8 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.687e-05/0.003481, allocations: 31.89 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.168e-05/0.003523, allocations: 16 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.003684, allocations: 107.6 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.003689, allocations: 0 / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.294e-06/0.003691, allocations: 4 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.003698, allocations: 0 / 0.6199 GB, free: 11.84 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005944/0.004292, allocations: 322 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.004333, allocations: 9.469 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.004368, allocations: 42.73 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.004395, allocations: 8.891 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.004541, allocations: 129.7 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.004568, allocations: 8.375 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.004579, allocations: 4.375 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.004839, allocations: 175.1 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004846, allocations: 192 / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.004858, allocations: 4.312 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.004865, allocations: 8.125 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.005093, allocations: 151.8 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.005512, allocations: 404 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.005687, allocations: 121.1 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.005791, allocations: 69.7 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.005809, allocations: 4 kB / 0.6213 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.005829, allocations: 30.56 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.005831, allocations: 4 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0004378/0.006269, allocations: 229.3 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.006309, allocations: 77.11 kB / 0.6216 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.035e-05/0.006399, allocations: 129.8 kB / 0.6217 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.006411, allocations: 25.95 kB / 0.6218 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.00646, allocations: 108 kB / 0.6219 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.006477, allocations: 11.89 kB / 0.6219 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.006513, allocations: 21.72 kB / 0.6219 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.21e-05/0.006595, allocations: 322.8 kB / 0.6222 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.006711, allocations: 63.92 kB / 0.6223 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.00697, allocations: 77.62 kB / 0.6223 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.007162, allocations: 129.6 kB / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007164, allocations: 0 / 0.6225 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002289/0.007393, allocations: 165.4 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.007407, allocations: 8.062 kB / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.007412, allocations: 0 / 0.6226 GB, free: 8.809 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.007426, allocations: 4 kB / 0.6226 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.007535, allocations: 19.97 kB / 0.6227 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.00754, allocations: 0 / 0.6227 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.007588, allocations: 19.97 kB / 0.6227 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.007595, allocations: 3.938 kB / 0.6227 GB, free: 8.762 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.492e-05/0.00768, allocations: 134.8 kB / 0.6228 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.007703, allocations: 11.95 kB / 0.6228 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.00773, allocations: 11.61 kB / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007732, allocations: 384 / 0.6228 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.007738, allocations: 4 kB / 0.6228 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.007741, allocations: 0 / 0.6228 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.007899, allocations: 156.7 kB / 0.623 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.007902, allocations: 7.938 kB / 0.623 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.007969, allocations: 27.95 kB / 0.623 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.00797, allocations: 3.938 kB / 0.623 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.007981, allocations: 4 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.007983, allocations: 4 kB / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.007983, allocations: 0 / 0.623 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.008285, allocations: 338.6 kB / 0.6233 GB, free: 8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.008295, allocations: 3.953 kB / 0.6234 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.008312, allocations: 4 kB / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.008393, allocations: 19.97 kB / 0.6234 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.645e-05/0.008459, allocations: 23.97 kB / 0.6234 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.008464, allocations: 0 / 0.6234 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.008505, allocations: 103.2 kB / 0.6235 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008505, allocations: 0 / 0.6235 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001751/0.00868, allocations: 16 kB / 0.6235 GB, free: 7.832 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004995/0.00918, allocations: 0.8678 MB / 0.6244 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.009437, allocations: 135.8 kB / 0.6245 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009439, allocations: 0 / 0.6245 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.009556, allocations: 91.83 kB / 0.6246 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.009797, allocations: 8.25 kB / 0.6246 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.01118, allocations: 1.684 MB / 0.6262 GB, free: 4.926 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.793e-05/0.01125, allocations: 79.33 kB / 0.6263 GB, free: 4.828 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.742e-05/0.0113, allocations: 19.98 kB / 0.6263 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.201e-05/0.01136, allocations: 28.48 kB / 0.6264 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/0.01137, allocations: 4 kB / 0.6264 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/0.02698, allocations: 3.122 MB / 0.6294 GB, free: 1.836 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/6.895, allocations: 17.53 kB / 0.6294 GB, free: 1.824 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_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_IntegerVectorReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.767820426262915] Failed to read output from testmodel.py, exit status != 0: 6.978930454701185 6.989438958 6.983601433 Calling exit ...