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.0007665/0.0007665, allocations: 105.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.0008385/0.0008385, allocations: 208.1 kB / 22.24 MB, free: 3.59 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.909/0.909, allocations: 230.6 MB / 256 MB, free: 9.598 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.784/0.784, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.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: 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.001346/0.001346, allocations: 79.11 kB / 0.7182 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5185/0.5199, allocations: 102 MB / 0.8178 GB, free: 1.066 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001472/0.5213, allocations: 0.6717 MB / 0.8184 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008048/0.5221, allocations: 0.8592 MB / 0.8193 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.5222, allocations: 0 / 0.8193 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.5223, allocations: 5.953 kB / 0.8193 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.5224, allocations: 15.81 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001339/0.5226, allocations: 15.39 kB / 0.8193 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.5227, allocations: 75.66 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.5228, allocations: 14.44 kB / 0.8194 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.531e-05/0.5229, allocations: 47.48 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.523, allocations: 40.03 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.523, allocations: 6.188 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.5231, allocations: 5.906 kB / 0.8195 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.225e-05/0.5231, allocations: 29.62 kB / 0.8195 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.669e-05/0.5232, allocations: 30.78 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.5233, allocations: 90.17 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5234, allocations: 0 / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5234, allocations: 0.7812 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.5234, allocations: 0 / 0.8196 GB, free: 15.85 MB / 0.6198 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.0005246/0.5239, allocations: 337.5 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.5239, allocations: 9.281 kB / 0.82 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.524, allocations: 38.81 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.524, allocations: 8.094 kB / 0.82 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.5242, allocations: 139.4 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.5242, allocations: 2.531 kB / 0.8201 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.5242, allocations: 8.781 kB / 0.8202 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.5245, allocations: 161.8 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5245, allocations: 7.938 kB / 0.8203 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.5245, allocations: 4.625 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5245, allocations: 2.969 kB / 0.8203 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.5248, allocations: 152.1 kB / 0.8205 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.5252, allocations: 400.7 kB / 0.8209 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.5254, allocations: 114.5 kB / 0.821 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.5255, allocations: 74.06 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.5256, allocations: 1.125 kB / 0.821 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.5256, allocations: 43 kB / 0.8211 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5256, allocations: 0 / 0.8211 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000453/0.526, allocations: 229.2 kB / 0.8213 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.5261, allocations: 79.55 kB / 0.8214 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.907e-05/0.5262, allocations: 125.2 kB / 0.8215 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.5262, allocations: 26.41 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.5262, allocations: 102.6 kB / 0.8216 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.5263, allocations: 14.75 kB / 0.8216 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.5263, allocations: 23.19 kB / 0.8216 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.309e-05/0.5264, allocations: 318.7 kB / 0.8219 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.5265, allocations: 64.86 kB / 0.822 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.5266, allocations: 79.91 kB / 0.8221 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.5268, allocations: 129.9 kB / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5268, allocations: 0 / 0.8222 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002431/0.527, allocations: 163.6 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5271, allocations: 5.5 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.5271, allocations: 0.6562 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.5271, allocations: 3.312 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.5272, allocations: 28.53 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5272, allocations: 4.594 kB / 0.8224 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.169e-05/0.5272, allocations: 16.95 kB / 0.8224 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.5273, allocations: 1.953 kB / 0.8224 GB, free: 13.88 MB / 0.6198 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 7.686e-05/0.5273, allocations: 125.4 kB / 0.8225 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.5274, allocations: 4.047 kB / 0.8225 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.401e-05/0.5274, allocations: 19.38 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.5274, allocations: 1.469 kB / 0.8226 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5274, allocations: 11.88 kB / 0.8226 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5274, allocations: 5.484 kB / 0.8226 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.5276, allocations: 157.6 kB / 0.8227 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5276, allocations: 2.484 kB / 0.8227 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.556e-05/0.5276, allocations: 21.7 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5276, allocations: 3.938 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.5276, allocations: 1.969 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5276, allocations: 1.984 kB / 0.8228 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5276, allocations: 3.938 kB / 0.8228 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.5279, allocations: 340.9 kB / 0.8231 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-06/0.528, allocations: 6.859 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.528, allocations: 1.297 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.5281, allocations: 19.91 kB / 0.8231 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.5281, allocations: 26.91 kB / 0.8231 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.5281, allocations: 2.203 kB / 0.8232 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.5282, allocations: 94.58 kB / 0.8232 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5282, allocations: 5.156 kB / 0.8232 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001751/0.5284, allocations: 15.16 kB / 0.8233 GB, free: 13.23 MB / 0.6198 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.000497/0.5289, allocations: 0.8671 MB / 0.8241 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.5292, allocations: 140.8 kB / 0.8242 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5292, allocations: 0 / 0.8242 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.5293, allocations: 87.77 kB / 0.8243 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.5295, allocations: 9.719 kB / 0.8243 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.5311, allocations: 1.694 MB / 0.826 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.633e-05/0.5311, allocations: 95.09 kB / 0.8261 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.454e-05/0.5312, allocations: 17.61 kB / 0.8261 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.59e-05/0.5313, allocations: 22.33 kB / 0.8261 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of SimCode: time 8.31e-07/0.5313, allocations: 0 / 0.8261 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.5507, allocations: 2.989 MB / 0.829 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/7.429, allocations: 7.312 kB / 0.829 GB, free: 10.04 MB / 0.6198 GB " [Timeout remaining time 652] (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: 10.25006585707888] Failed to read output from testmodel.py, exit status != 0: 7.509662807919085 7.526515487 7.000266404 Calling exit ...