Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_IDEAS_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.001085/0.001085, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7626/0.7626, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 65.59 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3435, allocations: 80.2 MB / 0.5802 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001672/0.3452, allocations: 0.5741 MB / 0.5808 GB, free: 4.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3464, allocations: 1.252 MB / 0.582 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.416e-05/0.3464, allocations: 0.9688 kB / 0.582 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.04e-05/0.3464, allocations: 0 / 0.582 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.907e-06/0.3465, allocations: 0 / 0.582 GB, free: 3.297 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.3468, allocations: 59 kB / 0.582 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.486e-05/0.3468, allocations: 1.375 kB / 0.582 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.453e-05/0.3469, allocations: 6.688 kB / 0.5821 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.257e-05/0.3469, allocations: 1.375 kB / 0.5821 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.048e-05/0.3469, allocations: 0.9688 kB / 0.5821 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.723e-06/0.3469, allocations: 0 / 0.5821 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.3471, allocations: 96.42 kB / 0.5821 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.3471, allocations: 1.359 kB / 0.5821 GB, free: 3.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.462e-05/0.3472, allocations: 5.125 kB / 0.5822 GB, free: 3.238 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.3473, allocations: 45.47 kB / 0.5822 GB, free: 3.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3473, allocations: 0.6875 kB / 0.5822 GB, free: 3.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3473, allocations: 0 / 0.5822 GB, free: 3.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.3473, allocations: 4.656 kB / 0.5822 GB, free: 3.223 MB / 430.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.0001908/0.3475, allocations: 324.6 kB / 0.5825 GB, free: 2.867 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3475, allocations: 13.56 kB / 0.5825 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.901e-05/0.3476, allocations: 32.59 kB / 0.5826 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.881e-05/0.3476, allocations: 0.9375 kB / 0.5826 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.316e-05/0.3476, allocations: 161.2 kB / 0.5827 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.3477, allocations: 2.219 kB / 0.5827 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-06/0.3477, allocations: 384 / 0.5827 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.915e-05/0.3477, allocations: 37.64 kB / 0.5827 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.3478, allocations: 4 kB / 0.5828 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.3478, allocations: 0 / 0.5828 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3478, allocations: 1.375 kB / 0.5828 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.3478, allocations: 2.172 kB / 0.5828 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.863e-05/0.3479, allocations: 152.3 kB / 0.5829 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.934e-05/0.3479, allocations: 16.61 kB / 0.5829 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.365e-05/0.3479, allocations: 6.797 kB / 0.5829 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000378/0.3483, allocations: 0.5629 MB / 0.5835 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.3483, allocations: 44.39 kB / 0.5835 GB, free: 1.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3483, allocations: 0 / 0.5835 GB, free: 1.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 9.859e-05/0.3485, allocations: 32.83 kB / 0.5835 GB, free: 1.613 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.388e-05/0.3485, allocations: 51.41 kB / 0.5836 GB, free: 1.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.28e-05/0.3485, allocations: 95.77 kB / 0.5837 GB, free: 1.449 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.67e-06/0.3485, allocations: 33.83 kB / 0.5837 GB, free: 1.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.794e-06/0.3485, allocations: 80.14 kB / 0.5838 GB, free: 1.328 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.3485, allocations: 5.797 kB / 0.5838 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.3486, allocations: 11.69 kB / 0.5838 GB, free: 1.309 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.502e-05/0.3486, allocations: 311.6 kB / 0.5841 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.165e-06/0.3486, allocations: 1.719 kB / 0.5841 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-06/0.3486, allocations: 1.406 kB / 0.5841 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/0.3487, allocations: 16.02 kB / 0.5841 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3487, allocations: 0.5625 kB / 0.5841 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.423e-05/0.3487, allocations: 36.69 kB / 0.5842 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3487, allocations: 9.219 kB / 0.5842 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3487, allocations: 0 / 0.5842 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.3488, allocations: 5.438 kB / 0.5842 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.626e-05/0.3488, allocations: 1.938 kB / 0.5842 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3488, allocations: 1.516 kB / 0.5842 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.3488, allocations: 0 / 0.5842 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.3488, allocations: 8.984 kB / 0.5842 GB, free: 0.9297 MB / 430.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.548e-05/0.3489, allocations: 112.1 kB / 0.5843 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-06/0.3489, allocations: 3.938 kB / 0.5843 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.275e-05/0.349, allocations: 44.92 kB / 0.5843 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.349, allocations: 1.469 kB / 0.5843 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.349, allocations: 0.6094 kB / 0.5843 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.349, allocations: 0 / 0.5843 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.217e-05/0.349, allocations: 148.6 kB / 0.5845 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.349, allocations: 4.641 kB / 0.5845 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-05/0.3491, allocations: 2.719 kB / 0.5845 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3491, allocations: 4.734 kB / 0.5845 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.3491, allocations: 1.375 kB / 0.5845 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3491, allocations: 0 / 0.5845 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3491, allocations: 0 / 0.5845 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.487e-05/0.3491, allocations: 61.53 kB / 0.5846 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.3491, allocations: 88.89 kB / 0.5846 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.3492, allocations: 1.531 kB / 0.5846 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.3492, allocations: 0 / 0.5846 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.3492, allocations: 1.609 kB / 0.5846 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.3492, allocations: 0.875 kB / 0.5846 GB, free: 404 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.002e-05/0.3492, allocations: 75.84 kB / 0.5847 GB, free: 328 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3492, allocations: 3.938 kB / 0.5847 GB, free: 324 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001875/0.3494, allocations: 5.031 kB / 0.5847 GB, free: 324 kB / 430.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.0002841/0.3497, allocations: 0.6057 MB / 0.5853 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.305e-05/0.3498, allocations: 8.219 kB / 0.5853 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.3498, allocations: 0.6875 kB / 0.5853 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.085e-06/0.3498, allocations: 2.469 kB / 0.5853 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.3499, allocations: 4.844 kB / 0.5853 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.3502, allocations: 109 kB / 0.5854 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.3504, allocations: 0.6709 MB / 0.5861 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.891e-05/0.3504, allocations: 1.656 kB / 0.5861 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.48e-05/0.3504, allocations: 8.094 kB / 0.5861 GB, free: 14.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3504, allocations: 0 / 0.5861 GB, free: 14.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1333/0.4838, allocations: 0.9887 MB / 0.5871 GB, free: 14.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.487/9.971, allocations: 8.094 kB / 0.5871 GB, free: 14.53 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)