Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 177 kB / 325.8 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008433/0.0008432, allocations: 86.59 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 15.12 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2354, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007322/0.2362, allocations: 335 kB / 0.8965 GB, free: 67.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.2376, allocations: 1.286 MB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-06/0.2377, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.2377, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.2377, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.238, allocations: 51.02 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.881e-05/0.238, allocations: 7.984 kB / 0.8978 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.2381, allocations: 4 kB / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.48e-05/0.2381, allocations: 0 / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.2382, allocations: 0 / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.2382, allocations: 3.938 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.2384, allocations: 91.89 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.007e-05/0.2384, allocations: 4 kB / 0.8979 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.2384, allocations: 3.938 kB / 0.898 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.2385, allocations: 47.94 kB / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2385, allocations: 4 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2385, allocations: 0 / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.2385, allocations: 4 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB 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.0002341/0.2388, allocations: 319.6 kB / 0.8983 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.2388, allocations: 8.031 kB / 0.8983 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.2389, allocations: 30.75 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.955e-05/0.2389, allocations: 0.9375 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.373e-05/0.239, allocations: 168.3 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.239, allocations: 384 / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/0.239, allocations: 12.38 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.948e-05/0.2391, allocations: 33.77 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.2391, allocations: 0 / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.2391, allocations: 0 / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.2391, allocations: 0 / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.2391, allocations: 4 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.389e-05/0.2392, allocations: 145.7 kB / 0.8987 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.154e-05/0.2393, allocations: 18.61 kB / 0.8987 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.2393, allocations: 12.86 kB / 0.8987 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003838/0.2397, allocations: 0.5584 MB / 0.8993 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.2397, allocations: 38.44 kB / 0.8993 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.2397, allocations: 0 / 0.8993 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.00011/0.2398, allocations: 37.7 kB / 0.8993 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/0.2398, allocations: 55.53 kB / 0.8994 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.563e-05/0.2399, allocations: 89.86 kB / 0.8995 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.2399, allocations: 25.7 kB / 0.8995 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.939e-06/0.2399, allocations: 80.14 kB / 0.8996 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.2399, allocations: 0 / 0.8996 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/0.2399, allocations: 13.66 kB / 0.8996 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.24, allocations: 310.8 kB / 0.8999 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-06/0.24, allocations: 7.984 kB / 0.8999 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.01e-06/0.24, allocations: 0 / 0.8999 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.204e-05/0.24, allocations: 20.86 kB / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.24, allocations: 0 / 0.8999 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.874e-05/0.2401, allocations: 29.7 kB / 0.8999 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2401, allocations: 7.938 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2401, allocations: 0 / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2401, allocations: 4 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.981e-05/0.2402, allocations: 0 / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2402, allocations: 0 / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.079e-05/0.2402, allocations: 4 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.2402, allocations: 8.016 kB / 0.9 GB, free: 63.84 MB / 0.6042 GB 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 4.366e-05/0.2403, allocations: 109.8 kB / 0.9001 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-06/0.2403, allocations: 3.938 kB / 0.9001 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.113e-05/0.2404, allocations: 40.77 kB / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.2404, allocations: 0 / 0.9001 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2404, allocations: 4 kB / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2404, allocations: 0 / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.199e-05/0.2405, allocations: 153.7 kB / 0.9003 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2405, allocations: 0 / 0.9003 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.2405, allocations: 3.938 kB / 0.9003 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2405, allocations: 7.938 kB / 0.9003 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-06/0.2405, allocations: 0 / 0.9003 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.2405, allocations: 0 / 0.9003 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2405, allocations: 0 / 0.9003 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.42e-05/0.2406, allocations: 69.06 kB / 0.9003 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.2406, allocations: 81.05 kB / 0.9004 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.187e-06/0.2406, allocations: 0 / 0.9004 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-06/0.2406, allocations: 0 / 0.9004 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.2406, allocations: 0 / 0.9004 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.2406, allocations: 0 / 0.9004 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.436e-05/0.2407, allocations: 79.31 kB / 0.9005 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.2407, allocations: 4 kB / 0.9005 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002026/0.2409, allocations: 7.984 kB / 0.9005 GB, free: 63.18 MB / 0.6042 GB 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.0002468/0.2411, allocations: 0.6085 MB / 0.9011 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.178e-05/0.2412, allocations: 7.938 kB / 0.9011 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2412, allocations: 4 kB / 0.9011 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.011e-06/0.2412, allocations: 4 kB / 0.9011 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.2413, allocations: 6.391 kB / 0.9011 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.2416, allocations: 108.5 kB / 0.9012 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2417, allocations: 0.6731 MB / 0.9019 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.939e-05/0.2417, allocations: 0 / 0.9019 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.268e-05/0.2417, allocations: 11.44 kB / 0.9019 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2417, allocations: 0 / 0.9019 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00965/0.2514, allocations: 0.8407 MB / 0.9027 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/0.2516, allocations: 224.7 kB / 0.9029 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.489/1.741, allocations: 0 / 0.9029 GB, free: 60.73 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)