Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 109.2 kB / 15.99 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 188.2 kB / 16.9 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6844/0.6844, allocations: 115.3 MB / 406.1 MB, free: 6.391 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.89 kB / 493.2 MB, free: 0.6367 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3997, allocations: 76.17 MB / 0.556 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.002163/0.4019, allocations: 1.548 MB / 0.5575 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007449/0.4027, allocations: 0.6447 MB / 0.5582 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.88e-05/0.4027, allocations: 5.562 kB / 0.5582 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.4027, allocations: 0.8438 kB / 0.5582 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.4028, allocations: 4.688 kB / 0.5582 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.4031, allocations: 69.3 kB / 0.5582 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.4031, allocations: 40.98 kB / 0.5583 GB, free: 34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.413e-05/0.4032, allocations: 17.06 kB / 0.5583 GB, free: 33.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.957e-05/0.4033, allocations: 18.05 kB / 0.5583 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.4033, allocations: 14.56 kB / 0.5583 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.4033, allocations: 3.281 kB / 0.5583 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.4035, allocations: 102.8 kB / 0.5584 GB, free: 33.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.158e-05/0.4035, allocations: 10.64 kB / 0.5584 GB, free: 33.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.4035, allocations: 13.95 kB / 0.5584 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.4037, allocations: 86.31 kB / 0.5585 GB, free: 33.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4037, allocations: 1.312 kB / 0.5585 GB, free: 33.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4037, allocations: 0.75 kB / 0.5585 GB, free: 33.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.4037, allocations: 0 / 0.5585 GB, free: 33.9 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002953/0.404, allocations: 359.5 kB / 0.5589 GB, free: 33.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.404, allocations: 8.875 kB / 0.5589 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.227e-05/0.4041, allocations: 42.06 kB / 0.5589 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.4041, allocations: 8.469 kB / 0.5589 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.296e-05/0.4041, allocations: 182.1 kB / 0.5591 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.4042, allocations: 384 / 0.5591 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.4042, allocations: 3.375 kB / 0.5591 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.4043, allocations: 56.84 kB / 0.5592 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.4043, allocations: 1.062 kB / 0.5592 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.4043, allocations: 3.875 kB / 0.5592 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.4043, allocations: 1.656 kB / 0.5592 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.049e-05/0.4044, allocations: 29 kB / 0.5592 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002495/0.4047, allocations: 279.1 kB / 0.5595 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.163e-05/0.4048, allocations: 35.31 kB / 0.5595 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.4048, allocations: 12.89 kB / 0.5595 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.4051, allocations: 0.5598 MB / 0.5601 GB, free: 32.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.487e-05/0.4052, allocations: 33.25 kB / 0.5601 GB, free: 32.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.4052, allocations: 1.344 kB / 0.5601 GB, free: 32.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002009/0.4054, allocations: 67.33 kB / 0.5601 GB, free: 32.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.511e-05/0.4054, allocations: 51.94 kB / 0.5602 GB, free: 32.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.4055, allocations: 124.5 kB / 0.5603 GB, free: 31.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.4055, allocations: 26.58 kB / 0.5603 GB, free: 31.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.334e-05/0.4055, allocations: 90.55 kB / 0.5604 GB, free: 31.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/0.4055, allocations: 5.25 kB / 0.5604 GB, free: 31.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.4055, allocations: 22.12 kB / 0.5605 GB, free: 31.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.711e-05/0.4056, allocations: 316.8 kB / 0.5608 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.786e-05/0.4056, allocations: 12.3 kB / 0.5608 GB, free: 31.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.948e-05/0.4057, allocations: 8.844 kB / 0.5608 GB, free: 31.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.426e-05/0.4057, allocations: 26.08 kB / 0.5608 GB, free: 31.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4057, allocations: 0 / 0.5608 GB, free: 31.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.914e-05/0.4058, allocations: 65.91 kB / 0.5609 GB, free: 31.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.4059, allocations: 4.188 kB / 0.5609 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.4059, allocations: 3 kB / 0.5609 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.4059, allocations: 2.062 kB / 0.5609 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.4059, allocations: 8.125 kB / 0.5609 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.406, allocations: 2.547 kB / 0.5609 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.406, allocations: 6.688 kB / 0.5609 GB, free: 31.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.406, allocations: 5.375 kB / 0.5609 GB, free: 31.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.96e-05/0.4061, allocations: 110.2 kB / 0.561 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.4061, allocations: 7.844 kB / 0.561 GB, free: 31.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.4062, allocations: 68.14 kB / 0.5611 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4062, allocations: 0 / 0.5611 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4062, allocations: 1.375 kB / 0.5611 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.4062, allocations: 0 / 0.5611 GB, free: 31.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.4064, allocations: 174.7 kB / 0.5612 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.4064, allocations: 1.219 kB / 0.5612 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.4064, allocations: 9 kB / 0.5613 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.4064, allocations: 0 / 0.5613 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4064, allocations: 1.281 kB / 0.5613 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.4064, allocations: 0 / 0.5613 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4064, allocations: 0.5625 kB / 0.5613 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.4066, allocations: 153.6 kB / 0.5614 GB, free: 30.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.4066, allocations: 82.77 kB / 0.5615 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.4066, allocations: 3.75 kB / 0.5615 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.942e-05/0.4067, allocations: 2.75 kB / 0.5615 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.4067, allocations: 6 kB / 0.5615 GB, free: 30.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.4067, allocations: 0.5625 kB / 0.5615 GB, free: 30.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.283e-05/0.4068, allocations: 103.6 kB / 0.5616 GB, free: 30.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4068, allocations: 0 / 0.5616 GB, free: 30.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.407, allocations: 13.94 kB / 0.5616 GB, free: 30.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002973/0.4073, allocations: 0.6909 MB / 0.5623 GB, free: 30.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.4075, allocations: 27.84 kB / 0.5623 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4075, allocations: 1.406 kB / 0.5623 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.4076, allocations: 13.69 kB / 0.5623 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.4079, allocations: 6.719 kB / 0.5623 GB, free: 30.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009526/0.4088, allocations: 1.303 MB / 0.5636 GB, free: 28.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.317e-05/0.4089, allocations: 0.6848 MB / 0.5643 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.266e-05/0.4089, allocations: 3.281 kB / 0.5643 GB, free: 28.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.409, allocations: 13.78 kB / 0.5643 GB, free: 28.15 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.409, allocations: 0 / 0.5643 GB, free: 28.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2017/0.6107, allocations: 1.369 MB / 0.5656 GB, free: 27.93 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.611, allocations: 187.5 kB / 0.5658 GB, free: 27.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.334, allocations: 0 / 0.5658 GB, free: 27.67 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)