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.001095/0.001095, allocations: 103.2 kB / 15.06 MB, free: 1.098 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.00101/0.00101, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.18/2.18, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.203/1.203, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004027, allocations: 12 kB / 0.5033 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8127/0.8131, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.003995/0.8172, allocations: 1.194 MB / 0.5841 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.8194, allocations: 0.5966 MB / 0.5847 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.8195, allocations: 0.6875 kB / 0.5847 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.442e-05/0.8196, allocations: 5.406 kB / 0.5847 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.8197, allocations: 6.203 kB / 0.5847 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.8203, allocations: 51.77 kB / 0.5848 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.8204, allocations: 22.7 kB / 0.5848 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.8206, allocations: 12.25 kB / 0.5848 GB, free: 2.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.8207, allocations: 19.2 kB / 0.5848 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.8209, allocations: 11.38 kB / 0.5848 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.8209, allocations: 0.875 kB / 0.5848 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004064/0.8213, allocations: 88.98 kB / 0.5849 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.498e-05/0.8214, allocations: 6.375 kB / 0.5849 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.8214, allocations: 32.33 kB / 0.585 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.8217, allocations: 59.05 kB / 0.585 GB, free: 2.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.8217, allocations: 0 / 0.585 GB, free: 2.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.8217, allocations: 4 kB / 0.585 GB, free: 2.586 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.8218, allocations: 0 / 0.585 GB, free: 2.586 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005648/0.8223, allocations: 358.9 kB / 0.5854 GB, free: 2.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/0.8224, allocations: 10.14 kB / 0.5854 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.722e-05/0.8225, allocations: 35.92 kB / 0.5854 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.8226, allocations: 3.594 kB / 0.5854 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.8227, allocations: 167.1 kB / 0.5856 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.8228, allocations: 1.625 kB / 0.5856 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.8228, allocations: 13.56 kB / 0.5856 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.8231, allocations: 54.52 kB / 0.5856 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8231, allocations: 0 / 0.5856 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.8231, allocations: 1.641 kB / 0.5856 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.8232, allocations: 0.6562 kB / 0.5856 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.8234, allocations: 31.28 kB / 0.5857 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.8239, allocations: 291.5 kB / 0.5859 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.8241, allocations: 32.44 kB / 0.586 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005725/0.8247, allocations: 0.5541 MB / 0.5865 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.8248, allocations: 36.48 kB / 0.5866 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.314e-06/0.8248, allocations: 0 / 0.5866 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004291/0.8252, allocations: 80.83 kB / 0.5866 GB, free: 0.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.8253, allocations: 52.2 kB / 0.5867 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.8254, allocations: 122 kB / 0.5868 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.8254, allocations: 26.67 kB / 0.5868 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.8255, allocations: 91.25 kB / 0.5869 GB, free: 0.543 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.8255, allocations: 6.422 kB / 0.5869 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.8256, allocations: 4 kB / 0.5869 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.577e-05/0.8256, allocations: 313.9 kB / 0.5872 GB, free: 228 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.8257, allocations: 13.25 kB / 0.5872 GB, free: 224 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.987e-05/0.8258, allocations: 9.812 kB / 0.5872 GB, free: 224 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.414e-05/0.826, allocations: 17.75 kB / 0.5873 GB, free: 216 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.826, allocations: 1.031 kB / 0.5873 GB, free: 216 kB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002399/0.8262, allocations: 59.55 kB / 0.5873 GB, free: 176 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.8263, allocations: 6.062 kB / 0.5873 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.8263, allocations: 3.938 kB / 0.5873 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.8263, allocations: 4.625 kB / 0.5873 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.8264, allocations: 7.828 kB / 0.5873 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.8265, allocations: 7.984 kB / 0.5873 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.8266, allocations: 4.234 kB / 0.5873 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.8266, allocations: 0.8438 kB / 0.5873 GB, free: 160 kB / 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 (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 9.177e-05/0.8267, allocations: 110.7 kB / 0.5875 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.453e-05/0.8267, allocations: 6.922 kB / 0.5875 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.8271, allocations: 65.95 kB / 0.5875 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.8271, allocations: 0 / 0.5875 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.8271, allocations: 5.828 kB / 0.5875 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.8272, allocations: 3.953 kB / 0.5875 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.8275, allocations: 173.3 kB / 0.5877 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.8275, allocations: 0.6562 kB / 0.5877 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.8276, allocations: 11.12 kB / 0.5877 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.8276, allocations: 0.6562 kB / 0.5877 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.8277, allocations: 0.6875 kB / 0.5877 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.8277, allocations: 4.594 kB / 0.5877 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.8277, allocations: 0.7812 kB / 0.5877 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.828, allocations: 159.9 kB / 0.5879 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.8281, allocations: 82.38 kB / 0.5879 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.8282, allocations: 1.969 kB / 0.5879 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.8283, allocations: 3.516 kB / 0.588 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.8284, allocations: 6.031 kB / 0.588 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.8284, allocations: 5.922 kB / 0.588 GB, free: 15.53 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.8285, allocations: 97.75 kB / 0.5881 GB, free: 15.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.8285, allocations: 0 / 0.5881 GB, free: 15.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000466/0.829, allocations: 9.094 kB / 0.5881 GB, free: 15.45 MB / 446.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 (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.0009238/0.83, allocations: 0.6975 MB / 0.5887 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.8302, allocations: 26.11 kB / 0.5888 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8302, allocations: 0.6562 kB / 0.5888 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.8303, allocations: 11.78 kB / 0.5888 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.8306, allocations: 14.38 kB / 0.5888 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.832, allocations: 461 kB / 0.5892 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.8325, allocations: 0.6854 MB / 0.5899 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.54e-05/0.8326, allocations: 2.359 kB / 0.5899 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.8326, allocations: 14.95 kB / 0.5899 GB, free: 13.68 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.8327, allocations: 0 / 0.5899 GB, free: 13.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.8533, allocations: 1.235 MB / 0.5911 GB, free: 13.52 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003682/0.8537, allocations: 155.9 kB / 0.5913 GB, free: 13.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/3.523, allocations: 1.375 kB / 0.5913 GB, free: 13.29 MB / 446.1 MB (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) Environment - environmentSimulation: