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.001206/0.001206, allocations: 101.9 kB / 16.27 MB, free: 5.98 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.00127/0.00127, allocations: 189.9 kB / 17.2 MB, free: 5.609 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.274/1.274, allocations: 222.9 MB / 240.9 MB, free: 15.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.737/0.737, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 64.12 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3298, allocations: 77.92 MB / 0.5673 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Splice): time 0.00227/0.3321, allocations: 1.485 MB / 0.5687 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008258/0.333, allocations: 0.6463 MB / 0.5694 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.333, allocations: 1.281 kB / 0.5694 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.3331, allocations: 4.688 kB / 0.5694 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.071e-05/0.3331, allocations: 7.359 kB / 0.5694 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.3334, allocations: 81.11 kB / 0.5694 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.054e-05/0.3335, allocations: 41.27 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.3336, allocations: 12.27 kB / 0.5695 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.958e-05/0.3336, allocations: 17.67 kB / 0.5695 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.3337, allocations: 19.83 kB / 0.5695 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3337, allocations: 4.469 kB / 0.5695 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.3339, allocations: 93.8 kB / 0.5696 GB, free: 31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.3339, allocations: 15.11 kB / 0.5696 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.3339, allocations: 22.91 kB / 0.5697 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.3341, allocations: 87.3 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3341, allocations: 1 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3341, allocations: 1.281 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.3341, allocations: 0 / 0.5697 GB, free: 30.95 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.0003046/0.3344, allocations: 366.5 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.3345, allocations: 10.81 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.175e-05/0.3345, allocations: 32.59 kB / 0.5701 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.3345, allocations: 4.344 kB / 0.5701 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.192e-05/0.3346, allocations: 177.3 kB / 0.5703 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3346, allocations: 3.609 kB / 0.5703 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.3346, allocations: 2.531 kB / 0.5703 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3348, allocations: 56.89 kB / 0.5704 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.3348, allocations: 0 / 0.5704 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.597e-06/0.3348, allocations: 1.656 kB / 0.5704 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3348, allocations: 1.969 kB / 0.5704 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.599e-05/0.3349, allocations: 27.48 kB / 0.5704 GB, free: 30.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.3351, allocations: 282 kB / 0.5707 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.388e-05/0.3352, allocations: 36.17 kB / 0.5707 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.3353, allocations: 17.73 kB / 0.5707 GB, free: 29.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003211/0.3356, allocations: 0.5573 MB / 0.5713 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.3356, allocations: 36.48 kB / 0.5713 GB, free: 29.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3356, allocations: 0 / 0.5713 GB, free: 29.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002115/0.3359, allocations: 68.62 kB / 0.5714 GB, free: 29.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.468e-05/0.3359, allocations: 52.84 kB / 0.5714 GB, free: 29.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.3359, allocations: 124.5 kB / 0.5715 GB, free: 29.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.86e-06/0.336, allocations: 25.7 kB / 0.5716 GB, free: 28.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.336, allocations: 95.28 kB / 0.5717 GB, free: 28.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.336, allocations: 5.375 kB / 0.5717 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.549e-05/0.336, allocations: 12.55 kB / 0.5717 GB, free: 28.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.658e-05/0.3361, allocations: 322 kB / 0.572 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.3361, allocations: 12.02 kB / 0.572 GB, free: 28.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.3362, allocations: 18.69 kB / 0.572 GB, free: 28.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.192e-05/0.3362, allocations: 25.97 kB / 0.572 GB, free: 28.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3363, allocations: 0 / 0.572 GB, free: 28.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001045/0.3364, allocations: 54.48 kB / 0.5721 GB, free: 28.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.3364, allocations: 4.156 kB / 0.5721 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3364, allocations: 2.781 kB / 0.5721 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3364, allocations: 0 / 0.5721 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.3365, allocations: 7.188 kB / 0.5721 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3365, allocations: 0 / 0.5721 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.3365, allocations: 12.95 kB / 0.5721 GB, free: 28.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.3365, allocations: 9.125 kB / 0.5721 GB, free: 28.49 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 4.219e-05/0.3366, allocations: 117.5 kB / 0.5722 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/0.3366, allocations: 6.844 kB / 0.5722 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.3368, allocations: 62.28 kB / 0.5723 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3368, allocations: 1.844 kB / 0.5723 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3368, allocations: 0.5938 kB / 0.5723 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3368, allocations: 1.125 kB / 0.5723 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.3369, allocations: 165.6 kB / 0.5725 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3369, allocations: 0.9375 kB / 0.5725 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.337, allocations: 8.281 kB / 0.5725 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.337, allocations: 0 / 0.5725 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.337, allocations: 1.094 kB / 0.5725 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.337, allocations: 0.75 kB / 0.5725 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.337, allocations: 1.062 kB / 0.5725 GB, free: 28.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.3371, allocations: 162 kB / 0.5726 GB, free: 27.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.3371, allocations: 80.42 kB / 0.5727 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.3372, allocations: 0 / 0.5727 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.3372, allocations: 4.25 kB / 0.5727 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.3373, allocations: 3.078 kB / 0.5727 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.3373, allocations: 5.094 kB / 0.5727 GB, free: 27.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.536e-05/0.3373, allocations: 102.2 kB / 0.5728 GB, free: 27.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.01e-07/0.3373, allocations: 0 / 0.5728 GB, free: 27.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000221/0.3375, allocations: 18.2 kB / 0.5728 GB, free: 27.79 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.0002944/0.3378, allocations: 0.6895 MB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.338, allocations: 24.77 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.338, allocations: 0 / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.28e-05/0.338, allocations: 16.75 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.3382, allocations: 3.625 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000883/0.3391, allocations: 1.306 MB / 0.5748 GB, free: 25.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.364e-05/0.3392, allocations: 0.6811 MB / 0.5755 GB, free: 25.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.374e-05/0.3392, allocations: 8.844 kB / 0.5755 GB, free: 25.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.3393, allocations: 13.48 kB / 0.5755 GB, free: 25.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3393, allocations: 1.25 kB / 0.5755 GB, free: 25.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.3549, allocations: 1.475 MB / 0.5769 GB, free: 24.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.148/7.503, allocations: 11.42 kB / 0.577 GB, free: 24.84 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Examples_Splice.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)