Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 116.9 kB / 16.37 MB, free: 6.016 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.001321/0.001322, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.296/1.296, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8292/0.8292, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 60.14 kB / 0.5156 GB, free: 14.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3511/0.3524, allocations: 82.04 MB / 0.5957 GB, free: 16.1 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001586/0.354, allocations: 0.5727 MB / 0.5963 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3551, allocations: 1.257 MB / 0.5975 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.518e-05/0.3551, allocations: 0 / 0.5975 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.506e-05/0.3552, allocations: 0.6875 kB / 0.5975 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.939e-06/0.3552, allocations: 0 / 0.5975 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.3555, allocations: 61.16 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.721e-05/0.3555, allocations: 3.984 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.3556, allocations: 4 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.277e-05/0.3556, allocations: 1.594 kB / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.703e-05/0.3556, allocations: 0 / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.3557, allocations: 0 / 0.5976 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.3559, allocations: 103.9 kB / 0.5977 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.3559, allocations: 2.031 kB / 0.5977 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.533e-05/0.3559, allocations: 3.938 kB / 0.5977 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.356, allocations: 55.92 kB / 0.5977 GB, free: 14.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.356, allocations: 4 kB / 0.5977 GB, free: 14.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.356, allocations: 0 / 0.5977 GB, free: 14.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.356, allocations: 5.25 kB / 0.5977 GB, free: 14.04 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.0002245/0.3563, allocations: 315.6 kB / 0.598 GB, free: 13.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.3563, allocations: 16.02 kB / 0.5981 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.3563, allocations: 1.844 kB / 0.5981 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.025e-05/0.3564, allocations: 160.4 kB / 0.5982 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.3564, allocations: 5.75 kB / 0.5982 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.3564, allocations: 384 / 0.5982 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.525e-05/0.3565, allocations: 37.95 kB / 0.5982 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.3565, allocations: 0.9062 kB / 0.5982 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.3565, allocations: 0 / 0.5982 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3565, allocations: 1.312 kB / 0.5982 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.3565, allocations: 0 / 0.5982 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.335e-05/0.3566, allocations: 149.7 kB / 0.5984 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.074e-05/0.3567, allocations: 20.08 kB / 0.5984 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.3567, allocations: 12.84 kB / 0.5984 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003979/0.3571, allocations: 0.5682 MB / 0.599 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.3571, allocations: 35.81 kB / 0.599 GB, free: 12.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3571, allocations: 0 / 0.599 GB, free: 12.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000107/0.3572, allocations: 33.7 kB / 0.599 GB, free: 12.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.707e-05/0.3573, allocations: 52.12 kB / 0.5991 GB, free: 12.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.459e-05/0.3573, allocations: 91.36 kB / 0.5992 GB, free: 12.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/0.3573, allocations: 29.7 kB / 0.5992 GB, free: 12.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.508e-06/0.3573, allocations: 80.14 kB / 0.5993 GB, free: 12.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.3573, allocations: 5.406 kB / 0.5993 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.3574, allocations: 17.64 kB / 0.5993 GB, free: 12.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.3574, allocations: 310.8 kB / 0.5996 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-06/0.3574, allocations: 8.75 kB / 0.5996 GB, free: 11.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-06/0.3574, allocations: 3.938 kB / 0.5996 GB, free: 11.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.291e-05/0.3575, allocations: 10.36 kB / 0.5996 GB, free: 11.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3575, allocations: 0 / 0.5996 GB, free: 11.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.87e-05/0.3575, allocations: 30.39 kB / 0.5997 GB, free: 11.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.3575, allocations: 11.94 kB / 0.5997 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3575, allocations: 1.75 kB / 0.5997 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.709e-06/0.3576, allocations: 0 / 0.5997 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.785e-05/0.3576, allocations: 3.984 kB / 0.5997 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3576, allocations: 0 / 0.5997 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.018e-05/0.3576, allocations: 2.156 kB / 0.5997 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.3576, allocations: 8 kB / 0.5997 GB, free: 11.71 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.562e-05/0.3577, allocations: 105.8 kB / 0.5998 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.3577, allocations: 3.938 kB / 0.5998 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.934e-05/0.3578, allocations: 46.09 kB / 0.5998 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3578, allocations: 5.344 kB / 0.5998 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3578, allocations: 3.938 kB / 0.5998 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.3578, allocations: 0 / 0.5998 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.46e-05/0.3578, allocations: 145.7 kB / 0.6 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3578, allocations: 1.531 kB / 0.6 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.3579, allocations: 4 kB / 0.6 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3579, allocations: 3.938 kB / 0.6 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.3579, allocations: 0 / 0.6 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3579, allocations: 5.328 kB / 0.6 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3579, allocations: 0 / 0.6 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.348e-05/0.3579, allocations: 61.86 kB / 0.6001 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.358, allocations: 78.42 kB / 0.6001 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-06/0.358, allocations: 3.938 kB / 0.6001 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-06/0.358, allocations: 0 / 0.6001 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.055e-05/0.358, allocations: 5.234 kB / 0.6001 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.358, allocations: 0 / 0.6001 GB, free: 11.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.151e-05/0.358, allocations: 79.28 kB / 0.6002 GB, free: 11.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.358, allocations: 1.438 kB / 0.6002 GB, free: 11.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001969/0.3582, allocations: 4 kB / 0.6002 GB, free: 11.07 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.0001143/0.3583, allocations: 116.5 kB / 0.6003 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.234e-05/0.3584, allocations: 4 kB / 0.6003 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3584, allocations: 1.281 kB / 0.6003 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.862e-06/0.3584, allocations: 7.922 kB / 0.6003 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.3585, allocations: 7.797 kB / 0.6003 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001323/0.3587, allocations: 76.05 kB / 0.6004 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.515e-05/0.3588, allocations: 0.67 MB / 0.6011 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.873e-05/0.3588, allocations: 9.516 kB / 0.6011 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.055e-05/0.3588, allocations: 7.438 kB / 0.6011 GB, free: 10.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3588, allocations: 0 / 0.6011 GB, free: 10.13 MB / 446.1 MB Notification: Performance of Templates: time 0.001923/0.3607, allocations: 304.1 kB / 0.6014 GB, free: 9.863 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)