Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7851/0.7851, allocations: 133.6 MB / 141.6 MB, free: 2.844 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 221.5 MB / 395.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009086/0.0009087, allocations: 92.09 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.345e-05, allocations: 8 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4825, allocations: 82.31 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/0.6294, allocations: 110.9 MB / 0.7422 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.6297, allocations: 79.94 kB / 0.7423 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004777/0.6345, allocations: 1.688 MB / 0.7439 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6345, allocations: 4 kB / 0.7439 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.6345, allocations: 0 / 0.7439 GB, free: 10.03 MB / 0.5261 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.0002457/0.6348, allocations: 330.5 kB / 0.7442 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.6348, allocations: 8.031 kB / 0.7443 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.6348, allocations: 3.984 kB / 0.7443 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.74e-05/0.6349, allocations: 163 kB / 0.7444 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.6349, allocations: 0 / 0.7444 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.635, allocations: 0 / 0.7444 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.676e-05/0.635, allocations: 7.938 kB / 0.7444 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.973e-05/0.6351, allocations: 29.7 kB / 0.7444 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6351, allocations: 0 / 0.7444 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.6351, allocations: 0 / 0.7444 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6351, allocations: 3.938 kB / 0.7445 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.6353, allocations: 134.2 kB / 0.7446 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.215e-05/0.6353, allocations: 18.53 kB / 0.7446 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.924e-05/0.6353, allocations: 4.859 kB / 0.7446 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004599/0.6358, allocations: 0.5584 MB / 0.7451 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.6358, allocations: 42.5 kB / 0.7452 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 2.796e-06/0.6358, allocations: 0 / 0.7452 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001483/0.636, allocations: 33.64 kB / 0.7452 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.636, allocations: 55.39 kB / 0.7453 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.057e-05/0.6361, allocations: 85 kB / 0.7454 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.6361, allocations: 29.73 kB / 0.7454 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.6361, allocations: 80.14 kB / 0.7455 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.6361, allocations: 7.844 kB / 0.7455 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.6362, allocations: 0 / 0.7455 GB, free: 8.145 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6363, allocations: 314.8 kB / 0.7458 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.6363, allocations: 0 / 0.7458 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.6363, allocations: 0 / 0.7458 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.125e-05/0.6363, allocations: 4 kB / 0.7458 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6363, allocations: 0 / 0.7458 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.244e-05/0.6364, allocations: 45.69 kB / 0.7458 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.6364, allocations: 13.05 kB / 0.7458 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6364, allocations: 0 / 0.7458 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.6365, allocations: 0 / 0.7458 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.6365, allocations: 0 / 0.7458 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.386e-06/0.6365, allocations: 0 / 0.7458 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.028e-05/0.6365, allocations: 0 / 0.7458 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-06/0.6365, allocations: 4 kB / 0.7458 GB, free: 7.758 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.117e-05/0.6366, allocations: 101 kB / 0.7459 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.148e-05/0.6366, allocations: 37.72 kB / 0.746 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.793e-06/0.6367, allocations: 11.95 kB / 0.746 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.643e-05/0.6368, allocations: 41.38 kB / 0.746 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6368, allocations: 0 / 0.746 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6368, allocations: 3.984 kB / 0.746 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.6368, allocations: 0 / 0.746 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.203e-05/0.6368, allocations: 126.2 kB / 0.7461 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.6369, allocations: 0 / 0.7461 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.6369, allocations: 4.062 kB / 0.7461 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.6369, allocations: 3.953 kB / 0.7461 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.6369, allocations: 4 kB / 0.7462 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.6369, allocations: 0 / 0.7462 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6369, allocations: 0 / 0.7462 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.478e-05/0.637, allocations: 57.12 kB / 0.7462 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.234e-05/0.637, allocations: 85.05 kB / 0.7463 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.6371, allocations: 11.92 kB / 0.7463 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-06/0.6371, allocations: 0 / 0.7463 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.6371, allocations: 0 / 0.7463 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.6371, allocations: 3.938 kB / 0.7463 GB, free: 7.188 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.375e-05/0.6371, allocations: 75.28 kB / 0.7464 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6371, allocations: 0 / 0.7464 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001796/0.6373, allocations: 15.98 kB / 0.7464 GB, free: 7.098 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003773/0.6377, allocations: 0.5997 MB / 0.747 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.951e-05/0.6378, allocations: 4 kB / 0.747 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6378, allocations: 0 / 0.747 GB, free: 6.465 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.456e-06/0.6378, allocations: 3.938 kB / 0.747 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.173e-05/0.6379, allocations: 7.953 kB / 0.747 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.6382, allocations: 85.64 kB / 0.7471 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.6384, allocations: 0.6769 MB / 0.7477 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.6384, allocations: 0 / 0.7477 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.6384, allocations: 7.438 kB / 0.7477 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.6384, allocations: 0 / 0.7477 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.6554, allocations: 0.5204 MB / 0.7482 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.6557, allocations: 142.8 kB / 0.7484 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.381/2.037, allocations: 0 / 0.7484 GB, free: 4.91 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)