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.001144/0.001143, allocations: 103.2 kB / 16.4 MB, free: 6.496 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.001269/0.001269, allocations: 197.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.464/2.464, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.122/1.122, allocations: 115.3 MB / 406.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 68.64 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.236, allocations: 76.18 MB / 0.6316 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002185/0.2382, allocations: 0.5636 MB / 0.6322 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.2402, allocations: 1.256 MB / 0.6334 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.2403, allocations: 0 / 0.6334 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.2403, allocations: 0 / 0.6334 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.2403, allocations: 0 / 0.6334 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.2408, allocations: 67.75 kB / 0.6335 GB, free: 2.957 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.37e-05/0.2409, allocations: 7.984 kB / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.241, allocations: 0 / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.241, allocations: 0 / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.285e-05/0.241, allocations: 0 / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.241, allocations: 8 kB / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.2413, allocations: 91.89 kB / 0.6336 GB, free: 2.852 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.2414, allocations: 4 kB / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.2414, allocations: 4 kB / 0.6336 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.2416, allocations: 55.88 kB / 0.6336 GB, free: 2.789 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2416, allocations: 3.984 kB / 0.6336 GB, free: 2.785 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.2416, allocations: 0 / 0.6336 GB, free: 2.785 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.2416, allocations: 3.938 kB / 0.6336 GB, free: 2.781 MB / 478.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.0003575/0.242, allocations: 315.6 kB / 0.6339 GB, free: 2.426 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.242, allocations: 16.03 kB / 0.634 GB, free: 2.41 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.2421, allocations: 34.73 kB / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.2421, allocations: 0.9375 kB / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.2422, allocations: 160.4 kB / 0.6342 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2422, allocations: 384 / 0.6342 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.2422, allocations: 4.375 kB / 0.6342 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.2424, allocations: 37.83 kB / 0.6342 GB, free: 2.125 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2424, allocations: 3.984 kB / 0.6342 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2424, allocations: 0 / 0.6342 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2424, allocations: 0 / 0.6342 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.2424, allocations: 8 kB / 0.6342 GB, free: 2.113 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.2426, allocations: 149.6 kB / 0.6343 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.785e-05/0.2426, allocations: 14.58 kB / 0.6344 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.2427, allocations: 8.953 kB / 0.6344 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006344/0.2433, allocations: 0.5622 MB / 0.6349 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.2433, allocations: 38.5 kB / 0.635 GB, free: 1.145 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2434, allocations: 0 / 0.635 GB, free: 1.145 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001494/0.2435, allocations: 37.64 kB / 0.635 GB, free: 1.102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2436, allocations: 55.41 kB / 0.635 GB, free: 1.035 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.122e-05/0.2436, allocations: 93.8 kB / 0.6351 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.2436, allocations: 25.7 kB / 0.6352 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.2437, allocations: 80.14 kB / 0.6352 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.884e-05/0.2437, allocations: 12.02 kB / 0.6352 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.2437, allocations: 17.7 kB / 0.6353 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2438, allocations: 310.8 kB / 0.6356 GB, free: 484 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.2439, allocations: 0 / 0.6356 GB, free: 484 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.2439, allocations: 3.938 kB / 0.6356 GB, free: 480 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.077e-05/0.2439, allocations: 12.86 kB / 0.6356 GB, free: 464 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2439, allocations: 0 / 0.6356 GB, free: 464 kB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.889e-05/0.244, allocations: 33.73 kB / 0.6356 GB, free: 424 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.244, allocations: 15.94 kB / 0.6356 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.244, allocations: 0 / 0.6356 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.244, allocations: 3.984 kB / 0.6356 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.406e-05/0.2441, allocations: 0 / 0.6356 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2441, allocations: 4 kB / 0.6356 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.175e-05/0.2441, allocations: 0 / 0.6356 GB, free: 400 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.2441, allocations: 0 / 0.6356 GB, free: 400 kB / 478.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 6.634e-05/0.2442, allocations: 105.8 kB / 0.6357 GB, free: 284 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.2442, allocations: 3.938 kB / 0.6357 GB, free: 280 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.2443, allocations: 51.62 kB / 0.6358 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.2443, allocations: 0 / 0.6358 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2444, allocations: 0 / 0.6358 GB, free: 224 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.2444, allocations: 3.938 kB / 0.6358 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.514e-05/0.2445, allocations: 141.7 kB / 0.6359 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2445, allocations: 0 / 0.6359 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.635e-05/0.2445, allocations: 4 kB / 0.6359 GB, free: 24 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.2445, allocations: 3.938 kB / 0.6359 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.2445, allocations: 4.031 kB / 0.6359 GB, free: 16 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2445, allocations: 3.984 kB / 0.6359 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2445, allocations: 4 kB / 0.6359 GB, free: 8 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.59e-05/0.2446, allocations: 57.19 kB / 0.636 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.2447, allocations: 81.05 kB / 0.6361 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.2447, allocations: 0 / 0.6361 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.053e-05/0.2447, allocations: 0 / 0.6361 GB, free: 15.83 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.754e-05/0.2447, allocations: 11.97 kB / 0.6361 GB, free: 15.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.2447, allocations: 0 / 0.6361 GB, free: 15.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.155e-05/0.2448, allocations: 75.28 kB / 0.6362 GB, free: 15.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2448, allocations: 0 / 0.6362 GB, free: 15.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002027/0.245, allocations: 8 kB / 0.6362 GB, free: 15.74 MB / 494.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.0004133/0.2454, allocations: 0.6084 MB / 0.6368 GB, free: 15.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.548e-05/0.2455, allocations: 4 kB / 0.6368 GB, free: 15.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.2455, allocations: 11.94 kB / 0.6368 GB, free: 15.09 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.638e-06/0.2455, allocations: 3.938 kB / 0.6368 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.2457, allocations: 0 / 0.6368 GB, free: 15.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/0.246, allocations: 110.7 kB / 0.6369 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.2463, allocations: 0.669 MB / 0.6375 GB, free: 14.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.163e-05/0.2463, allocations: 8.125 kB / 0.6375 GB, free: 14.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.646e-05/0.2463, allocations: 7.438 kB / 0.6376 GB, free: 14.22 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2463, allocations: 0 / 0.6376 GB, free: 14.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7687/1.015, allocations: 1.028 MB / 0.6386 GB, free: 13.29 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.91, allocations: 18.09 kB / 0.6386 GB, free: 13.27 MB / 494.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)