Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction",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.007076/0.007076, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.001889/0.00189, allocations: 191.7 kB / 16.67 MB, free: 6.379 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9341/0.9341, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 0.5852 GB, free: 3.766 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4495, allocations: 80.91 MB / 0.6642 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001539/0.4511, allocations: 0.57 MB / 0.6648 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.4523, allocations: 1.248 MB / 0.666 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.534e-05/0.4524, allocations: 0 / 0.666 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.4524, allocations: 0 / 0.666 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.4524, allocations: 1.062 kB / 0.666 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.4527, allocations: 58.56 kB / 0.666 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.712e-05/0.4528, allocations: 5.094 kB / 0.666 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.4528, allocations: 1.406 kB / 0.666 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.423e-05/0.4528, allocations: 1.125 kB / 0.666 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.4529, allocations: 5.406 kB / 0.666 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.633e-06/0.4529, allocations: 3.938 kB / 0.666 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.4531, allocations: 97.39 kB / 0.6661 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.744e-06/0.4531, allocations: 0 / 0.6661 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.439e-05/0.4531, allocations: 1.188 kB / 0.6661 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.4532, allocations: 50.88 kB / 0.6662 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4532, allocations: 0 / 0.6662 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4532, allocations: 4 kB / 0.6662 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.4532, allocations: 0 / 0.6662 GB, free: 5.73 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002147/0.4535, allocations: 322.4 kB / 0.6665 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.4535, allocations: 9.938 kB / 0.6665 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.918e-05/0.4535, allocations: 30.75 kB / 0.6665 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.715e-05/0.4535, allocations: 0.9375 kB / 0.6665 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.934e-05/0.4536, allocations: 164.4 kB / 0.6667 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.4536, allocations: 1.562 kB / 0.6667 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-06/0.4536, allocations: 384 / 0.6667 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.571e-05/0.4537, allocations: 56.16 kB / 0.6668 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.4537, allocations: 0 / 0.6668 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.4537, allocations: 0 / 0.6668 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4537, allocations: 1.219 kB / 0.6668 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.663e-05/0.4538, allocations: 1.281 kB / 0.6668 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.226e-05/0.4538, allocations: 142.9 kB / 0.6669 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.723e-05/0.4539, allocations: 17.36 kB / 0.6669 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.433e-05/0.4539, allocations: 10.14 kB / 0.6669 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003765/0.4543, allocations: 0.5692 MB / 0.6675 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.4543, allocations: 39.5 kB / 0.6675 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.4543, allocations: 0 / 0.6675 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001155/0.4544, allocations: 35.52 kB / 0.6675 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/0.4544, allocations: 55.39 kB / 0.6676 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.638e-05/0.4545, allocations: 93.98 kB / 0.6677 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-06/0.4545, allocations: 27.36 kB / 0.6677 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.233e-05/0.4545, allocations: 80.14 kB / 0.6678 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.4545, allocations: 0 / 0.6678 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.4545, allocations: 12.66 kB / 0.6678 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.4546, allocations: 310.8 kB / 0.6681 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-06/0.4546, allocations: 1.438 kB / 0.6681 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.4546, allocations: 1.688 kB / 0.6681 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.313e-05/0.4546, allocations: 19.3 kB / 0.6681 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4546, allocations: 0 / 0.6681 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.2e-05/0.4547, allocations: 35.25 kB / 0.6682 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4547, allocations: 9.562 kB / 0.6682 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4547, allocations: 0 / 0.6682 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4547, allocations: 0 / 0.6682 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.026e-05/0.4548, allocations: 2.625 kB / 0.6682 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.4548, allocations: 0 / 0.6682 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.4548, allocations: 0 / 0.6682 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.4548, allocations: 5.25 kB / 0.6682 GB, free: 3.422 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 3.838e-05/0.4549, allocations: 107.1 kB / 0.6683 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.4549, allocations: 3.938 kB / 0.6683 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.503e-05/0.4549, allocations: 47.44 kB / 0.6683 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.455, allocations: 0 / 0.6683 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.455, allocations: 0 / 0.6683 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.455, allocations: 1.562 kB / 0.6683 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.769e-05/0.455, allocations: 149.7 kB / 0.6685 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.455, allocations: 5.297 kB / 0.6685 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.368e-05/0.455, allocations: 1.594 kB / 0.6685 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.4551, allocations: 3.938 kB / 0.6685 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.4551, allocations: 1.562 kB / 0.6685 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4551, allocations: 7.938 kB / 0.6685 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4551, allocations: 0 / 0.6685 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.775e-05/0.4551, allocations: 63.39 kB / 0.6685 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.4552, allocations: 95.22 kB / 0.6686 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.4552, allocations: 1.156 kB / 0.6686 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-06/0.4552, allocations: 0 / 0.6686 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.177e-05/0.4552, allocations: 1.562 kB / 0.6686 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.4552, allocations: 0 / 0.6686 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.193e-05/0.4552, allocations: 76.62 kB / 0.6687 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4552, allocations: 0 / 0.6687 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001936/0.4554, allocations: 5.125 kB / 0.6687 GB, free: 2.785 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002577/0.4557, allocations: 0.6028 MB / 0.6693 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.003e-05/0.4557, allocations: 10.59 kB / 0.6693 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4558, allocations: 1.344 kB / 0.6693 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.613e-06/0.4558, allocations: 1.281 kB / 0.6693 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.4559, allocations: 1.312 kB / 0.6693 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.4561, allocations: 117.8 kB / 0.6694 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.548e-05/0.4562, allocations: 0.6702 MB / 0.6701 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.625e-05/0.4562, allocations: 1.156 kB / 0.6701 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.136e-05/0.4562, allocations: 8.656 kB / 0.6701 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4562, allocations: 0 / 0.6701 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.4726, allocations: 1.034 MB / 0.6711 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.263/7.736, allocations: 5.125 kB / 0.6711 GB, free: 0.7031 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)