Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_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.001528/0.001528, allocations: 178.4 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.8085/0.8085, allocations: 133.6 MB / 141.6 MB, free: 2.867 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.366/1.366, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0008342/0.0008342, allocations: 113.7 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.633e-05/2.651e-05, allocations: 8 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4591, allocations: 82.3 MB / 0.6339 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.6156, allocations: 111.8 MB / 0.7431 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.616, allocations: 75.95 kB / 0.7431 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007148/0.6232, allocations: 2.18 MB / 0.7453 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6232, allocations: 0 / 0.7453 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.6233, allocations: 0 / 0.7453 GB, free: 8.758 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.000384/0.6236, allocations: 366.3 kB / 0.7456 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6237, allocations: 8.031 kB / 0.7456 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.6237, allocations: 4 kB / 0.7456 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.6239, allocations: 178.9 kB / 0.7458 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.6239, allocations: 0 / 0.7458 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.6239, allocations: 4 kB / 0.7458 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.207e-05/0.624, allocations: 19.92 kB / 0.7458 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.281e-05/0.6241, allocations: 41.69 kB / 0.7459 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6241, allocations: 0 / 0.7459 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.6241, allocations: 0 / 0.7459 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.6241, allocations: 8 kB / 0.7459 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.6246, allocations: 245.4 kB / 0.7461 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.2e-05/0.6247, allocations: 30.5 kB / 0.7461 GB, free: 7.734 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.6247, allocations: 8.922 kB / 0.7461 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004631/0.6252, allocations: 0.5583 MB / 0.7467 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.6252, allocations: 34.56 kB / 0.7467 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.6252, allocations: 0 / 0.7467 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001889/0.6254, allocations: 45.59 kB / 0.7468 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.6254, allocations: 59.34 kB / 0.7468 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.574e-05/0.6255, allocations: 97 kB / 0.7469 GB, free: 6.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.6255, allocations: 25.7 kB / 0.7469 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.6256, allocations: 96.09 kB / 0.747 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.6256, allocations: 11.84 kB / 0.747 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.6256, allocations: 0 / 0.747 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6257, allocations: 314.8 kB / 0.7473 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.989e-05/0.6258, allocations: 8 kB / 0.7474 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.314e-05/0.6258, allocations: 4 kB / 0.7474 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/0.6258, allocations: 7.984 kB / 0.7474 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6258, allocations: 0 / 0.7474 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.978e-05/0.6259, allocations: 49.67 kB / 0.7474 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.6259, allocations: 5.875 kB / 0.7474 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6259, allocations: 0 / 0.7474 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.626, allocations: 4 kB / 0.7474 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.626, allocations: 7.984 kB / 0.7474 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-06/0.6261, allocations: 4.25 kB / 0.7474 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.6261, allocations: 4 kB / 0.7474 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.6261, allocations: 0 / 0.7474 GB, free: 6.215 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 6.606e-05/0.6262, allocations: 114.9 kB / 0.7475 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.749e-05/0.6263, allocations: 53.61 kB / 0.7476 GB, free: 6.039 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.6263, allocations: 7.906 kB / 0.7476 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.6264, allocations: 49.66 kB / 0.7476 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.6264, allocations: 0 / 0.7476 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6265, allocations: 7.969 kB / 0.7477 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.6265, allocations: 3.953 kB / 0.7477 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.6266, allocations: 142.2 kB / 0.7478 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6266, allocations: 0 / 0.7478 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-05/0.6267, allocations: 12.05 kB / 0.7478 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6267, allocations: 0 / 0.7478 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.6267, allocations: 4 kB / 0.7478 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.6267, allocations: 3.938 kB / 0.7478 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6267, allocations: 0 / 0.7478 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.6269, allocations: 143.5 kB / 0.748 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.6269, allocations: 81.02 kB / 0.748 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.6269, allocations: 0 / 0.748 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.87e-05/0.627, allocations: 11.97 kB / 0.748 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.627, allocations: 3.984 kB / 0.748 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.627, allocations: 4 kB / 0.748 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.318e-05/0.6271, allocations: 83.36 kB / 0.7481 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6271, allocations: 0 / 0.7481 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000232/0.6273, allocations: 16 kB / 0.7481 GB, free: 5.402 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.0004566/0.6278, allocations: 0.6967 MB / 0.7488 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.448e-05/0.6279, allocations: 12 kB / 0.7488 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6279, allocations: 0 / 0.7488 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.792e-05/0.6279, allocations: 4 kB / 0.7488 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001305/0.628, allocations: 0 / 0.7488 GB, free: 4.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/0.6284, allocations: 105.7 kB / 0.7489 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.6286, allocations: 0.6846 MB / 0.7496 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.372e-05/0.6287, allocations: 3.984 kB / 0.7496 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.6287, allocations: 19.44 kB / 0.7496 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.6287, allocations: 3.938 kB / 0.7496 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.648, allocations: 0.8231 MB / 0.7504 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/0.6483, allocations: 114.6 kB / 0.7505 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/2.124, allocations: 0 / 0.7505 GB, free: 2.773 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)