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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001103/0.001103, allocations: 189.8 kB / 16.14 MB, free: 6.707 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.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6535/0.6535, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 64.06 kB / 0.5012 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1278, allocations: 80.19 MB / 0.5795 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002159/0.13, allocations: 1.562 MB / 0.581 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007887/0.1308, allocations: 0.6475 MB / 0.5817 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.1309, allocations: 0 / 0.5817 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.631e-05/0.1309, allocations: 4 kB / 0.5817 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.026e-05/0.131, allocations: 7.922 kB / 0.5817 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.1312, allocations: 51.89 kB / 0.5817 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.116e-05/0.1312, allocations: 35.86 kB / 0.5817 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.045e-05/0.1313, allocations: 15.98 kB / 0.5818 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.447e-05/0.1314, allocations: 15.92 kB / 0.5818 GB, free: 6.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.1314, allocations: 19.92 kB / 0.5818 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1314, allocations: 4 kB / 0.5818 GB, free: 6.746 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1316, allocations: 91.89 kB / 0.5819 GB, free: 6.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.1316, allocations: 11.94 kB / 0.5819 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.1316, allocations: 19.86 kB / 0.5819 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.1317, allocations: 72.12 kB / 0.582 GB, free: 6.555 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1317, allocations: 0 / 0.582 GB, free: 6.555 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1317, allocations: 0 / 0.582 GB, free: 6.555 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.525e-06/0.1318, allocations: 0 / 0.582 GB, free: 6.555 MB / 494.1 MB 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.0003203/0.1321, allocations: 371.3 kB / 0.5823 GB, free: 6.145 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1321, allocations: 8.031 kB / 0.5823 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.59e-05/0.1321, allocations: 30.75 kB / 0.5824 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.149e-05/0.1322, allocations: 8.875 kB / 0.5824 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.091e-05/0.1323, allocations: 176.2 kB / 0.5826 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.1323, allocations: 4.375 kB / 0.5826 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1323, allocations: 4.375 kB / 0.5826 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1324, allocations: 53.81 kB / 0.5826 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.1324, allocations: 0 / 0.5826 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.1324, allocations: 4 kB / 0.5826 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.1324, allocations: 0 / 0.5826 GB, free: 5.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/0.1325, allocations: 31.95 kB / 0.5826 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.1328, allocations: 284.7 kB / 0.5829 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.851e-05/0.1329, allocations: 30.56 kB / 0.5829 GB, free: 5.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.1329, allocations: 20.92 kB / 0.583 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003558/0.1333, allocations: 0.5505 MB / 0.5835 GB, free: 4.707 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.1333, allocations: 30.56 kB / 0.5835 GB, free: 4.668 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1333, allocations: 7.875 kB / 0.5835 GB, free: 4.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000188/0.1335, allocations: 69.58 kB / 0.5836 GB, free: 4.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.1335, allocations: 55.53 kB / 0.5837 GB, free: 4.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.924e-05/0.1336, allocations: 125.5 kB / 0.5838 GB, free: 4.391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.1336, allocations: 25.7 kB / 0.5838 GB, free: 4.359 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/0.1337, allocations: 96.08 kB / 0.5839 GB, free: 4.262 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.1337, allocations: 3.906 kB / 0.5839 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.1337, allocations: 17.66 kB / 0.5839 GB, free: 4.234 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.63e-05/0.1338, allocations: 322.8 kB / 0.5842 GB, free: 3.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.966e-05/0.1339, allocations: 12 kB / 0.5842 GB, free: 3.898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/0.1339, allocations: 15.98 kB / 0.5843 GB, free: 3.883 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.003e-05/0.134, allocations: 28.78 kB / 0.5843 GB, free: 3.852 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.134, allocations: 0 / 0.5843 GB, free: 3.852 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.987e-05/0.1341, allocations: 53.69 kB / 0.5843 GB, free: 3.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.1341, allocations: 4 kB / 0.5843 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-06/0.1341, allocations: 0 / 0.5843 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.1341, allocations: 96 / 0.5843 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.462e-05/0.1342, allocations: 11.98 kB / 0.5843 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1342, allocations: 0 / 0.5843 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.1342, allocations: 4 kB / 0.5843 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1342, allocations: 3.938 kB / 0.5844 GB, free: 3.77 MB / 494.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 (2): * Single equations (assignments): 2 * 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 5.378e-05/0.1343, allocations: 114.5 kB / 0.5845 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.1343, allocations: 3.906 kB / 0.5845 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.1345, allocations: 69.14 kB / 0.5845 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1345, allocations: 4.031 kB / 0.5845 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.1345, allocations: 0 / 0.5845 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1345, allocations: 3.984 kB / 0.5845 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.1346, allocations: 165.6 kB / 0.5847 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1346, allocations: 0 / 0.5847 GB, free: 3.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.1347, allocations: 4 kB / 0.5847 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1347, allocations: 0 / 0.5847 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.1347, allocations: 0 / 0.5847 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1347, allocations: 0 / 0.5847 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1347, allocations: 3.938 kB / 0.5847 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.1348, allocations: 167.3 kB / 0.5849 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.1349, allocations: 77.11 kB / 0.5849 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.1349, allocations: 4 kB / 0.5849 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.713e-05/0.1349, allocations: 0 / 0.5849 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.135, allocations: 3.984 kB / 0.5849 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.135, allocations: 4 kB / 0.5849 GB, free: 3.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.407e-05/0.135, allocations: 103.2 kB / 0.585 GB, free: 2.957 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.135, allocations: 0 / 0.585 GB, free: 2.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000202/0.1352, allocations: 12 kB / 0.5851 GB, free: 2.945 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 (2): * Single equations (assignments): 2 * 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.0003408/0.1356, allocations: 0.6812 MB / 0.5857 GB, free: 2.234 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.1357, allocations: 31.95 kB / 0.5858 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.1357, allocations: 0 / 0.5858 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.973e-05/0.1357, allocations: 15.98 kB / 0.5858 GB, free: 2.188 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.1359, allocations: 11.88 kB / 0.5858 GB, free: 2.176 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009382/0.1369, allocations: 1.317 MB / 0.5871 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.1371, allocations: 0.6809 MB / 0.5877 GB, free: 80 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.101e-05/0.1371, allocations: 4 kB / 0.5877 GB, free: 76 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.1371, allocations: 19.42 kB / 0.5878 GB, free: 56 kB / 494.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1371, allocations: 0 / 0.5878 GB, free: 56 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.795/1.932, allocations: 1.319 MB / 0.589 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/1.932, allocations: 174 kB / 0.5892 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/4.272, allocations: 0 / 0.5892 GB, free: 14.57 MB / 0.4981 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/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)