Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",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.002028/0.002028, allocations: 109 kB / 16.27 MB, free: 6.004 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.00214/0.00214, allocations: 186.1 kB / 17.2 MB, free: 5.617 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7424/0.7424, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 71.83 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3804, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001728/0.3821, allocations: 0.5671 MB / 0.5679 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.3834, allocations: 1.248 MB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.269e-05/0.3834, allocations: 0.9375 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.304e-05/0.3835, allocations: 0 / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.298e-06/0.3835, allocations: 0 / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.3838, allocations: 69.64 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.171e-05/0.3838, allocations: 4.078 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.3839, allocations: 5.203 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.151e-05/0.3839, allocations: 1.25 kB / 0.5691 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.671e-05/0.3839, allocations: 2.297 kB / 0.5692 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.3839, allocations: 0 / 0.5692 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.3842, allocations: 96.33 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.3842, allocations: 2.062 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.3842, allocations: 0.6562 kB / 0.5692 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.3843, allocations: 52.91 kB / 0.5693 GB, free: 31.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.3843, allocations: 3.344 kB / 0.5693 GB, free: 31.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3844, allocations: 0 / 0.5693 GB, free: 31.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3844, allocations: 3.938 kB / 0.5693 GB, free: 31.35 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002126/0.3846, allocations: 328.8 kB / 0.5696 GB, free: 30.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3846, allocations: 10.78 kB / 0.5696 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.3847, allocations: 31.86 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.3847, allocations: 6.125 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.478e-05/0.3847, allocations: 163.2 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3848, allocations: 384 / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-06/0.3848, allocations: 1.531 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.628e-05/0.3849, allocations: 43.52 kB / 0.5699 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.5e-06/0.3849, allocations: 0 / 0.5699 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.3849, allocations: 0 / 0.5699 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3849, allocations: 1.062 kB / 0.5699 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.734e-05/0.3849, allocations: 1.75 kB / 0.5699 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.377e-05/0.385, allocations: 152.9 kB / 0.57 GB, free: 30.51 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.72e-05/0.385, allocations: 18.98 kB / 0.57 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.385, allocations: 10.08 kB / 0.57 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003964/0.3854, allocations: 0.5644 MB / 0.5706 GB, free: 29.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.3855, allocations: 37.19 kB / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3855, allocations: 0 / 0.5706 GB, free: 29.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001047/0.3856, allocations: 37.17 kB / 0.5707 GB, free: 29.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.3856, allocations: 53.42 kB / 0.5707 GB, free: 29.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.209e-05/0.3856, allocations: 89.86 kB / 0.5708 GB, free: 29.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.3857, allocations: 27.98 kB / 0.5708 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.23e-05/0.3857, allocations: 84.14 kB / 0.5709 GB, free: 29.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.3857, allocations: 4.844 kB / 0.5709 GB, free: 29.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.3857, allocations: 12.58 kB / 0.5709 GB, free: 29.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.185e-05/0.3858, allocations: 314.7 kB / 0.5712 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.3858, allocations: 0 / 0.5712 GB, free: 29.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.951e-06/0.3858, allocations: 2.844 kB / 0.5712 GB, free: 29.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.3858, allocations: 8.5 kB / 0.5712 GB, free: 29.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3858, allocations: 1.469 kB / 0.5712 GB, free: 29.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.237e-05/0.3859, allocations: 40.58 kB / 0.5713 GB, free: 29.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.3859, allocations: 9.719 kB / 0.5713 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3859, allocations: 0.7969 kB / 0.5713 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3859, allocations: 1.812 kB / 0.5713 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-05/0.386, allocations: 2.531 kB / 0.5713 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.386, allocations: 1.812 kB / 0.5713 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.088e-05/0.386, allocations: 3.938 kB / 0.5713 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-06/0.386, allocations: 1.125 kB / 0.5713 GB, free: 29.07 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 (1): * Single equations (assignments): 1 * 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.622e-05/0.386, allocations: 108.3 kB / 0.5714 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-06/0.3861, allocations: 5.375 kB / 0.5714 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.172e-05/0.3861, allocations: 43.98 kB / 0.5714 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3861, allocations: 1.25 kB / 0.5714 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3861, allocations: 1.531 kB / 0.5714 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3862, allocations: 5.594 kB / 0.5715 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.957e-05/0.3862, allocations: 145 kB / 0.5716 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3862, allocations: 1.062 kB / 0.5716 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.36e-05/0.3862, allocations: 1.125 kB / 0.5716 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3862, allocations: 5.703 kB / 0.5716 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.3863, allocations: 4.5 kB / 0.5716 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3863, allocations: 6 kB / 0.5716 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3863, allocations: 0.6094 kB / 0.5716 GB, free: 28.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.615e-05/0.3863, allocations: 58.67 kB / 0.5717 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.3863, allocations: 82.84 kB / 0.5717 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-06/0.3864, allocations: 2.078 kB / 0.5717 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-06/0.3864, allocations: 0.7812 kB / 0.5717 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.3864, allocations: 1.594 kB / 0.5717 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.3864, allocations: 2.531 kB / 0.5717 GB, free: 28.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.006e-05/0.3864, allocations: 75.28 kB / 0.5718 GB, free: 28.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3864, allocations: 0 / 0.5718 GB, free: 28.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002028/0.3866, allocations: 10.53 kB / 0.5718 GB, free: 28.48 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 (1): * Single equations (assignments): 1 * 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.0002381/0.3869, allocations: 0.6064 MB / 0.5724 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.232e-05/0.3869, allocations: 3.844 kB / 0.5724 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3869, allocations: 1.375 kB / 0.5724 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.796e-06/0.387, allocations: 6.234 kB / 0.5724 GB, free: 27.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.3871, allocations: 3.094 kB / 0.5724 GB, free: 27.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.3873, allocations: 108.5 kB / 0.5725 GB, free: 27.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.969e-05/0.3874, allocations: 0.6701 MB / 0.5732 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.925e-05/0.3874, allocations: 5.031 kB / 0.5732 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.172e-05/0.3875, allocations: 8.844 kB / 0.5732 GB, free: 27.04 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3875, allocations: 0 / 0.5732 GB, free: 27.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.4038, allocations: 1.005 MB / 0.5742 GB, free: 26.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.238/7.641, allocations: 12.17 kB / 0.5742 GB, free: 26.72 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)