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.001555/0.001554, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7508/0.7508, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 64.34 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4417, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002643/0.4444, allocations: 1.488 MB / 0.5816 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.4454, allocations: 0.6434 MB / 0.5823 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.06e-05/0.4455, allocations: 5.406 kB / 0.5823 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.4455, allocations: 4.594 kB / 0.5823 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.133e-05/0.4456, allocations: 5.594 kB / 0.5823 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.446, allocations: 75.83 kB / 0.5824 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.108e-05/0.4461, allocations: 43.81 kB / 0.5824 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.4462, allocations: 12.34 kB / 0.5824 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.4462, allocations: 20.12 kB / 0.5824 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.4463, allocations: 15.48 kB / 0.5824 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.4463, allocations: 3.781 kB / 0.5824 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.4465, allocations: 96.11 kB / 0.5825 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.295e-05/0.4465, allocations: 8.688 kB / 0.5825 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.4466, allocations: 14.52 kB / 0.5826 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.4468, allocations: 87.88 kB / 0.5826 GB, free: 2.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4468, allocations: 0.75 kB / 0.5826 GB, free: 2.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4468, allocations: 0 / 0.5826 GB, free: 2.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.4468, allocations: 1.375 kB / 0.5826 GB, free: 2.914 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.0003838/0.4472, allocations: 368.7 kB / 0.583 GB, free: 2.531 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4473, allocations: 9.562 kB / 0.583 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.856e-05/0.4473, allocations: 33.31 kB / 0.583 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.4473, allocations: 3.188 kB / 0.583 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.617e-05/0.4474, allocations: 177 kB / 0.5832 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.4474, allocations: 2.312 kB / 0.5832 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.4474, allocations: 11.23 kB / 0.5832 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.4476, allocations: 51.91 kB / 0.5833 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4476, allocations: 4 kB / 0.5833 GB, free: 2.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.4476, allocations: 4 kB / 0.5833 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4476, allocations: 1.578 kB / 0.5833 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.407e-05/0.4477, allocations: 24.8 kB / 0.5833 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.448, allocations: 279.5 kB / 0.5836 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.049e-05/0.4481, allocations: 30.39 kB / 0.5836 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.744e-05/0.4482, allocations: 21.69 kB / 0.5836 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003771/0.4486, allocations: 0.5536 MB / 0.5842 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.4486, allocations: 32.92 kB / 0.5842 GB, free: 1.199 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4486, allocations: 0 / 0.5842 GB, free: 1.199 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000263/0.4489, allocations: 77.88 kB / 0.5843 GB, free: 1.145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.4489, allocations: 51.92 kB / 0.5843 GB, free: 1.082 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.428e-05/0.449, allocations: 120.2 kB / 0.5844 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.449, allocations: 25.7 kB / 0.5845 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.4491, allocations: 88.48 kB / 0.5845 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.4491, allocations: 13.38 kB / 0.5846 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.4491, allocations: 16.98 kB / 0.5846 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.57e-05/0.4492, allocations: 318 kB / 0.5849 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.392e-05/0.4492, allocations: 15.83 kB / 0.5849 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.589e-05/0.4493, allocations: 11.92 kB / 0.5849 GB, free: 0.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.018e-05/0.4494, allocations: 29.66 kB / 0.5849 GB, free: 496 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4494, allocations: 0 / 0.5849 GB, free: 496 kB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001181/0.4495, allocations: 57 kB / 0.585 GB, free: 456 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4495, allocations: 4.406 kB / 0.585 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4495, allocations: 1 kB / 0.585 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.4496, allocations: 4.562 kB / 0.585 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.4496, allocations: 6.266 kB / 0.585 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.4496, allocations: 1.375 kB / 0.585 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.4497, allocations: 2.828 kB / 0.585 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.4497, allocations: 5.219 kB / 0.585 GB, free: 448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.4498, allocations: 109.4 kB / 0.5851 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.4498, allocations: 7.406 kB / 0.5851 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.45, allocations: 73.78 kB / 0.5852 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.45, allocations: 0 / 0.5852 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.45, allocations: 1.719 kB / 0.5852 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.45, allocations: 0 / 0.5852 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.4502, allocations: 170.2 kB / 0.5854 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4502, allocations: 0 / 0.5854 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/0.4502, allocations: 6.25 kB / 0.5854 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4502, allocations: 1.406 kB / 0.5854 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.4503, allocations: 0 / 0.5854 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4503, allocations: 0.9688 kB / 0.5854 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4503, allocations: 4.781 kB / 0.5854 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.4505, allocations: 156.2 kB / 0.5855 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.4505, allocations: 78.83 kB / 0.5856 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.4506, allocations: 1.672 kB / 0.5856 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.4507, allocations: 2.906 kB / 0.5856 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.4507, allocations: 6.453 kB / 0.5856 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.4507, allocations: 5.125 kB / 0.5856 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.555e-05/0.4508, allocations: 105.5 kB / 0.5857 GB, free: 15.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4508, allocations: 0 / 0.5857 GB, free: 15.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.4511, allocations: 9.406 kB / 0.5857 GB, free: 15.73 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 (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.0005798/0.4516, allocations: 0.695 MB / 0.5864 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.4518, allocations: 26.27 kB / 0.5864 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4518, allocations: 0 / 0.5864 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.173e-05/0.4519, allocations: 11.02 kB / 0.5864 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.4521, allocations: 5.375 kB / 0.5864 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.4536, allocations: 1.305 MB / 0.5877 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.4539, allocations: 0.6806 MB / 0.5884 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.528e-05/0.4539, allocations: 3.172 kB / 0.5884 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.454, allocations: 18.86 kB / 0.5884 GB, free: 13.11 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.454, allocations: 0 / 0.5884 GB, free: 13.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.4739, allocations: 1.46 MB / 0.5898 GB, free: 12.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/8.055, allocations: 0 / 0.5898 GB, free: 12.74 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/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)