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.0008391/0.0008391, 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.0008809/0.0008809, 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.8927/0.8927, allocations: 177.1 MB / 202.8 MB, free: 5.539 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.7111/0.7111, allocations: 154.6 MB / 413.7 MB, free: 0.7656 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 2.956e-06/2.956e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.354e-05, allocations: 4.578 kB / 0.618 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001589/0.001613, allocations: 0.6575 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008973/0.00251, allocations: 0.8509 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.8e-05/0.002578, allocations: 0 / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.002685, allocations: 15.92 kB / 0.6195 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.14e-05/0.002776, allocations: 7.922 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.00289, allocations: 23.86 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.002993, allocations: 71.81 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.00312, allocations: 23.98 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.382e-05/0.003193, allocations: 43.89 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.43e-05/0.003288, allocations: 47.89 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.003315, allocations: 4 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.003326, allocations: 4 kB / 0.6197 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.122e-05/0.003377, allocations: 27.91 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.003411, allocations: 23.98 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.003544, allocations: 95.72 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003547, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.223e-06/0.003548, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.003552, allocations: 0 / 0.6199 GB, free: 11.8 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.0004907/0.004043, allocations: 329.9 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.004087, allocations: 9.469 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.004127, allocations: 42.73 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.004154, allocations: 8.891 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.004318, allocations: 137.7 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.004351, allocations: 4.375 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.004365, allocations: 4.375 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.004656, allocations: 163.8 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.004664, allocations: 4.188 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.004676, allocations: 4.375 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.004682, allocations: 4.125 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.004917, allocations: 151.8 kB / 0.6207 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.005331, allocations: 403.9 kB / 0.6211 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.005633, allocations: 117.1 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.00574, allocations: 77.64 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.005755, allocations: 4 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.005776, allocations: 34.56 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.005777, allocations: 0 / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0004104/0.006187, allocations: 229.3 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.006223, allocations: 81.36 kB / 0.6216 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/0.006309, allocations: 125.8 kB / 0.6217 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.006322, allocations: 25.7 kB / 0.6218 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.006368, allocations: 104 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.006394, allocations: 11.89 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.006435, allocations: 21.72 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.006543, allocations: 322.8 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.00665, allocations: 63.86 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.006753, allocations: 81.62 kB / 0.6223 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.006944, allocations: 125.6 kB / 0.6225 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006946, allocations: 0 / 0.6225 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002347/0.007181, allocations: 169.5 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.007197, allocations: 8 kB / 0.6226 GB, free: 8.758 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.007203, allocations: 3.984 kB / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.007216, allocations: 0 / 0.6226 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.007319, allocations: 19.97 kB / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.007324, allocations: 4 kB / 0.6227 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.007381, allocations: 19.97 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.00739, allocations: 8 kB / 0.6227 GB, free: 8.703 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.166e-05/0.007471, allocations: 126.8 kB / 0.6228 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.007495, allocations: 7.953 kB / 0.6228 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.00752, allocations: 11.61 kB / 0.6228 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.007522, allocations: 4 kB / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.007527, allocations: 0 / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.00753, allocations: 0 / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.007792, allocations: 168.8 kB / 0.623 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007793, allocations: 0 / 0.623 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.461e-05/0.007858, allocations: 32.33 kB / 0.623 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.00786, allocations: 3.938 kB / 0.623 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.00787, allocations: 4 kB / 0.623 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.007872, allocations: 0 / 0.623 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.007874, allocations: 3.938 kB / 0.623 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.008168, allocations: 334.6 kB / 0.6233 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-06/0.008177, allocations: 7.953 kB / 0.6234 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.008189, allocations: 4 kB / 0.6234 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.008e-05/0.008269, allocations: 15.97 kB / 0.6234 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.008346, allocations: 23.91 kB / 0.6234 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.008351, allocations: 4 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.74e-05/0.008398, allocations: 107.2 kB / 0.6235 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008398, allocations: 0 / 0.6235 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001794/0.008578, allocations: 8 kB / 0.6235 GB, free: 7.781 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.000467/0.009045, allocations: 0.8678 MB / 0.6244 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.009295, allocations: 135.8 kB / 0.6245 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009297, allocations: 0 / 0.6245 GB, free: 6.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.009419, allocations: 92.02 kB / 0.6246 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.00965, allocations: 7.938 kB / 0.6246 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.01111, allocations: 1.687 MB / 0.6262 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.317e-05/0.01118, allocations: 87.33 kB / 0.6263 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.041e-05/0.01123, allocations: 19.98 kB / 0.6263 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.149e-05/0.01129, allocations: 24.48 kB / 0.6264 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.01129, allocations: 0 / 0.6264 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0162/0.02749, allocations: 3.117 MB / 0.6294 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.82/6.847, allocations: 12.7 kB / 0.6294 GB, free: 1.777 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.469873260706663] Failed to read output from testmodel.py, exit status != 0: 6.931552266702056 6.946792154 6.9397605140000005 Calling exit ...