Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.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.Examples.Splice,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice",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.001362/0.001362, allocations: 180.9 kB / 7.65 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.7911/0.7911, allocations: 133.6 MB / 141.6 MB, free: 2.941 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.588/1.588, allocations: 221.5 MB / 395.4 MB, free: 10.83 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.0009036/0.0009036, allocations: 104.6 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.139e-05, allocations: 4 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4762/0.4763, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.6429, allocations: 111.8 MB / 0.7431 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.6433, allocations: 71.95 kB / 0.7431 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008184/0.6515, allocations: 2.192 MB / 0.7453 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6516, allocations: 0 / 0.7453 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.226e-06/0.6516, allocations: 0 / 0.7453 GB, free: 8.676 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000499/0.6521, allocations: 358.3 kB / 0.7456 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.6522, allocations: 20.02 kB / 0.7456 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.6522, allocations: 0 / 0.7456 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.6524, allocations: 178.9 kB / 0.7458 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.6524, allocations: 0 / 0.7458 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.6525, allocations: 4 kB / 0.7458 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/0.6526, allocations: 15.94 kB / 0.7458 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.6527, allocations: 45.67 kB / 0.7459 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.6527, allocations: 0 / 0.7459 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.6528, allocations: 4 kB / 0.7459 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6528, allocations: 0 / 0.7459 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004785/0.6533, allocations: 257.4 kB / 0.7461 GB, free: 7.684 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.791e-05/0.6534, allocations: 30.52 kB / 0.7461 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.6534, allocations: 8.922 kB / 0.7462 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005955/0.654, allocations: 0.5505 MB / 0.7467 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.6541, allocations: 38.56 kB / 0.7467 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.6541, allocations: 0 / 0.7467 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002658/0.6544, allocations: 49.59 kB / 0.7468 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.6544, allocations: 55.34 kB / 0.7468 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.6545, allocations: 101 kB / 0.7469 GB, free: 6.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.6546, allocations: 25.7 kB / 0.7469 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.6546, allocations: 92.08 kB / 0.747 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.6547, allocations: 7.938 kB / 0.747 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.6547, allocations: 0 / 0.747 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6548, allocations: 322.8 kB / 0.7474 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.6549, allocations: 7.938 kB / 0.7474 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.988e-05/0.6549, allocations: 4 kB / 0.7474 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.622e-05/0.655, allocations: 8 kB / 0.7474 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.655, allocations: 0 / 0.7474 GB, free: 6.203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001387/0.6551, allocations: 49.59 kB / 0.7474 GB, free: 6.148 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6552, allocations: 8.094 kB / 0.7474 GB, free: 6.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.6552, allocations: 4 kB / 0.7474 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.6552, allocations: 0 / 0.7474 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.6553, allocations: 4 kB / 0.7474 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.6553, allocations: 0 / 0.7474 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.499e-05/0.6554, allocations: 11.97 kB / 0.7474 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.6554, allocations: 0 / 0.7474 GB, free: 6.121 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 (2): * Single equations (assignments): 2 * 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 8.672e-05/0.6555, allocations: 108.9 kB / 0.7475 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001465/0.6557, allocations: 53.62 kB / 0.7476 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.6557, allocations: 7.906 kB / 0.7476 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.6559, allocations: 49.66 kB / 0.7477 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.6559, allocations: 0 / 0.7477 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.656, allocations: 0 / 0.7477 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.656, allocations: 3.953 kB / 0.7477 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.6562, allocations: 142.2 kB / 0.7478 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.6562, allocations: 0 / 0.7478 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.794e-05/0.6563, allocations: 8 kB / 0.7478 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.6563, allocations: 64 / 0.7478 GB, free: 5.703 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.6563, allocations: 8 kB / 0.7478 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.6563, allocations: 0 / 0.7478 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.6563, allocations: 0 / 0.7478 GB, free: 5.695 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.6565, allocations: 143.4 kB / 0.7479 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.6566, allocations: 85 kB / 0.748 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.6566, allocations: 4 kB / 0.748 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.9e-05/0.6567, allocations: 3.938 kB / 0.748 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.6568, allocations: 8.031 kB / 0.748 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.6568, allocations: 0 / 0.748 GB, free: 5.422 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.085e-05/0.6569, allocations: 87.27 kB / 0.7481 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6569, allocations: 0 / 0.7481 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003981/0.6573, allocations: 16 kB / 0.7481 GB, free: 5.32 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 (2): * Single equations (assignments): 2 * 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.0005459/0.6579, allocations: 0.6889 MB / 0.7488 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.658, allocations: 12 kB / 0.7488 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.658, allocations: 0 / 0.7488 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.371e-05/0.6581, allocations: 4 kB / 0.7488 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.6583, allocations: 7.984 kB / 0.7488 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.6588, allocations: 101.6 kB / 0.7489 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.6591, allocations: 0.6886 MB / 0.7496 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.6591, allocations: 8 kB / 0.7496 GB, free: 3.719 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.6592, allocations: 11.44 kB / 0.7496 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of SimCode: time 3.31e-07/0.6592, allocations: 0 / 0.7496 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.6803, allocations: 0.8319 MB / 0.7504 GB, free: 2.883 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000275/0.6807, allocations: 115 kB / 0.7505 GB, free: 2.695 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.438/2.118, allocations: 0 / 0.7505 GB, free: 2.695 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)