Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008118/0.0008118, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0007989/0.0007989, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9352/0.9352, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5849/0.5849, allocations: 114 MB / 373.9 MB, free: 8.715 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 0.5542 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.377e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001278/0.001302, allocations: 0.6591 MB / 0.5548 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008087/0.00211, allocations: 0.8509 MB / 0.5556 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.002157, allocations: 0 / 0.5556 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 9.365e-05/0.002251, allocations: 7.922 kB / 0.5557 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/0.002344, allocations: 15.92 kB / 0.5557 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.002452, allocations: 23.86 kB / 0.5557 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.002553, allocations: 71.81 kB / 0.5558 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.002679, allocations: 19.98 kB / 0.5558 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.002751, allocations: 47.89 kB / 0.5558 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.002834, allocations: 43.89 kB / 0.5559 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.487e-05/0.002859, allocations: 8 kB / 0.5559 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.002869, allocations: 4 kB / 0.5559 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.002917, allocations: 27.91 kB / 0.5559 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.002948, allocations: 19.98 kB / 0.5559 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.003065, allocations: 99.66 kB / 0.556 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003067, allocations: 4 kB / 0.556 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.072e-06/0.003068, allocations: 0 / 0.556 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.003071, allocations: 0 / 0.556 GB, free: 0.9023 MB / 0.5105 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.0004476/0.003519, allocations: 326 kB / 0.5563 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.003557, allocations: 8.625 kB / 0.5563 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.003589, allocations: 42.73 kB / 0.5564 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.003614, allocations: 8.891 kB / 0.5564 GB, free: 496 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.003752, allocations: 129.7 kB / 0.5565 GB, free: 340 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.003779, allocations: 4.375 kB / 0.5565 GB, free: 336 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.003792, allocations: 12.38 kB / 0.5565 GB, free: 324 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002357/0.004028, allocations: 159.8 kB / 0.5567 GB, free: 152 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.004034, allocations: 4.188 kB / 0.5567 GB, free: 148 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.004045, allocations: 4.375 kB / 0.5567 GB, free: 144 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.00405, allocations: 4.125 kB / 0.5567 GB, free: 140 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.004292, allocations: 155.8 kB / 0.5568 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.004683, allocations: 415.8 kB / 0.5572 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.004847, allocations: 117 kB / 0.5574 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.004952, allocations: 73.7 kB / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.004969, allocations: 0 / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.004988, allocations: 34.56 kB / 0.5575 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.004989, allocations: 4 kB / 0.5575 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.000415/0.005404, allocations: 229.3 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.005439, allocations: 77.11 kB / 0.5578 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.432e-05/0.005513, allocations: 134 kB / 0.5579 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.005524, allocations: 29.7 kB / 0.5579 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.142e-05/0.005565, allocations: 100 kB / 0.558 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.005582, allocations: 7.953 kB / 0.558 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.005614, allocations: 25.7 kB / 0.558 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.005688, allocations: 318.8 kB / 0.5583 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.005791, allocations: 59.92 kB / 0.5584 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.005893, allocations: 77.62 kB / 0.5585 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.006079, allocations: 129.6 kB / 0.5586 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006081, allocations: 0 / 0.5586 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003025/0.006383, allocations: 169.5 kB / 0.5588 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.006397, allocations: 6.656 kB / 0.5588 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.006402, allocations: 4 kB / 0.5588 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.006414, allocations: 0 / 0.5588 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.006511, allocations: 19.97 kB / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.006516, allocations: 4 kB / 0.5588 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.006564, allocations: 23.91 kB / 0.5588 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.006572, allocations: 3.938 kB / 0.5588 GB, free: 13.81 MB / 0.5261 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.404e-05/0.006646, allocations: 133.8 kB / 0.5589 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.006669, allocations: 7.953 kB / 0.559 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.006691, allocations: 11.61 kB / 0.559 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.006694, allocations: 4 kB / 0.559 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.006698, allocations: 0 / 0.559 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006701, allocations: 384 / 0.559 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.006861, allocations: 168.8 kB / 0.5591 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006862, allocations: 0 / 0.5591 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.006922, allocations: 19.97 kB / 0.5591 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.006924, allocations: 7.938 kB / 0.5592 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.006932, allocations: 7.938 kB / 0.5592 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.006933, allocations: 0 / 0.5592 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.006935, allocations: 0 / 0.5592 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.007212, allocations: 338.5 kB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.007219, allocations: 3.953 kB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.007231, allocations: 4 kB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.00731, allocations: 19.97 kB / 0.5595 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.077e-05/0.007371, allocations: 19.97 kB / 0.5595 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.007378, allocations: 11.98 kB / 0.5595 GB, free: 13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.007414, allocations: 99.2 kB / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.007414, allocations: 4 kB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001742/0.007588, allocations: 11.95 kB / 0.5597 GB, free: 12.88 MB / 0.5261 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.000464/0.008052, allocations: 0.864 MB / 0.5605 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.008301, allocations: 131.8 kB / 0.5606 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.008303, allocations: 0 / 0.5606 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.008424, allocations: 92.02 kB / 0.5607 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.008671, allocations: 8.062 kB / 0.5607 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.01008, allocations: 1.687 MB / 0.5624 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.687e-05/0.01014, allocations: 87.38 kB / 0.5624 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.162e-05/0.0102, allocations: 23.95 kB / 0.5625 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.01025, allocations: 24.5 kB / 0.5625 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/0.01025, allocations: 0 / 0.5625 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.02699, allocations: 3.116 MB / 0.5655 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.565/6.592, allocations: 13.55 kB / 0.5655 GB, free: 6.879 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.159262208268046] Failed to read output from testmodel.py, exit status != 0: 6.673122487962246 6.685251614 6.677580313 Calling exit ...