Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.6 MB / 307.5 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 181.1 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.4 MB / 0.6366 GB, free: 8.617 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 90.03 kB / 0.7509 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003646, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2764, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7433/1.02, allocations: 138.7 MB / 1.124 GB, free: 35.79 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/1.02, allocations: 67.62 kB / 1.124 GB, free: 35.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003417/1.023, allocations: 1.233 MB / 1.125 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.174e-06/1.023, allocations: 3.094 kB / 1.125 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.096e-05/1.023, allocations: 4 kB / 1.125 GB, free: 34.8 MB / 0.7292 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.0004848/1.024, allocations: 416.4 kB / 1.126 GB, free: 34.37 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/1.024, allocations: 16.02 kB / 1.126 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/1.024, allocations: 34.56 kB / 1.126 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/1.024, allocations: 11.47 kB / 1.126 GB, free: 34.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/1.024, allocations: 198 kB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/1.024, allocations: 0.6562 kB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/1.024, allocations: 11.44 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/1.025, allocations: 166 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/1.025, allocations: 0.5625 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/1.025, allocations: 8 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/1.025, allocations: 1.312 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/1.025, allocations: 176.6 kB / 1.126 GB, free: 33.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/1.026, allocations: 442.4 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/1.026, allocations: 129.4 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/1.026, allocations: 0.5625 kB / 1.127 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/1.026, allocations: 30.56 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/1.026, allocations: 0 / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0007273/1.027, allocations: 270.5 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/1.027, allocations: 81.11 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/1.027, allocations: 113 kB / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/1.027, allocations: 29.7 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/1.027, allocations: 107.2 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/1.027, allocations: 3.906 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/1.027, allocations: 0 / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.283e-05/1.027, allocations: 318.8 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/1.027, allocations: 72.33 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/1.027, allocations: 88.42 kB / 1.128 GB, free: 32.2 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/1.028, allocations: 76.05 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.028, allocations: 4 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000415/1.028, allocations: 177.1 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.028, allocations: 8 kB / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.028, allocations: 0 / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.028, allocations: 0 / 1.128 GB, free: 31.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/1.028, allocations: 39.27 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.028, allocations: 3.938 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/1.028, allocations: 30.73 kB / 1.128 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/1.028, allocations: 4 kB / 1.128 GB, free: 31.93 MB / 0.7292 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.u[1],intRep.u[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.866e-05/1.029, allocations: 128.7 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/1.029, allocations: 8 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/1.029, allocations: 8.75 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/1.029, allocations: 0.5625 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.029, allocations: 11.89 kB / 1.128 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.029, allocations: 0 / 1.128 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/1.029, allocations: 190.8 kB / 1.128 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/1.029, allocations: 0.5 kB / 1.128 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/1.029, allocations: 31.53 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/1.029, allocations: 8 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/1.029, allocations: 1.531 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.029, allocations: 0.5469 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.029, allocations: 0 / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004801/1.03, allocations: 373.5 kB / 1.129 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/1.03, allocations: 77.11 kB / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/1.03, allocations: 8.5 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/1.03, allocations: 22.84 kB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/1.03, allocations: 30.41 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/1.03, allocations: 1.531 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.555e-05/1.03, allocations: 94.8 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.03, allocations: 0.75 kB / 1.129 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000259/1.03, allocations: 23.56 kB / 1.129 GB, free: 30.95 MB / 0.7292 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.u[1],intRep.u[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006899/1.031, allocations: 0.9689 MB / 1.13 GB, free: 29.99 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004415/1.031, allocations: 160.9 kB / 1.13 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.031, allocations: 0 / 1.13 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000224/1.032, allocations: 104.1 kB / 1.13 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/1.032, allocations: 8.797 kB / 1.13 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/1.033, allocations: 0.8515 MB / 1.131 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/1.033, allocations: 0.7 MB / 1.132 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.447e-05/1.033, allocations: 19.81 kB / 1.132 GB, free: 28.26 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.418e-05/1.034, allocations: 23 kB / 1.132 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/1.034, allocations: 0 / 1.132 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/1.05, allocations: 1.967 MB / 1.134 GB, free: 27.19 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.05, allocations: 201.5 kB / 1.134 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.683, allocations: 5.5 kB / 1.134 GB, free: 26.95 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1)