Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Splice,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Splice,fileNamePrefix="IDEAS_dev_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.006129/0.006129, allocations: 102.7 kB / 15.73 MB, free: 6.039 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.001267/0.001267, allocations: 198.1 kB / 16.67 MB, free: 5.973 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8954/0.8954, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.89 kB / 0.5851 GB, free: 3.859 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4544, allocations: 80.91 MB / 0.6642 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Splice): time 0.002122/0.4565, allocations: 1.492 MB / 0.6656 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008694/0.4574, allocations: 0.6371 MB / 0.6662 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.4575, allocations: 1.469 kB / 0.6662 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.78e-05/0.4575, allocations: 3.938 kB / 0.6662 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.507e-05/0.4576, allocations: 7.938 kB / 0.6662 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.4579, allocations: 81.16 kB / 0.6663 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.534e-05/0.458, allocations: 30.45 kB / 0.6664 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.458, allocations: 22.89 kB / 0.6664 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.257e-05/0.4581, allocations: 5.562 kB / 0.6664 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.4582, allocations: 29.31 kB / 0.6664 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.4582, allocations: 6.625 kB / 0.6664 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.4583, allocations: 91.97 kB / 0.6665 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.4584, allocations: 5.344 kB / 0.6665 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.4584, allocations: 23.78 kB / 0.6665 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.4585, allocations: 79.94 kB / 0.6666 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4585, allocations: 4 kB / 0.6666 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4586, allocations: 0 / 0.6666 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.4586, allocations: 1.531 kB / 0.6666 GB, free: 5.387 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003423/0.4589, allocations: 360.8 kB / 0.667 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.459, allocations: 14.16 kB / 0.667 GB, free: 5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.315e-05/0.459, allocations: 34.75 kB / 0.667 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.459, allocations: 8.969 kB / 0.667 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.24e-05/0.4591, allocations: 169.6 kB / 0.6672 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4591, allocations: 2.531 kB / 0.6672 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.4591, allocations: 2.812 kB / 0.6672 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.4593, allocations: 54.12 kB / 0.6672 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4593, allocations: 7.922 kB / 0.6672 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.4593, allocations: 5.25 kB / 0.6672 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4593, allocations: 0 / 0.6672 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.41e-05/0.4594, allocations: 35.78 kB / 0.6673 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.4597, allocations: 278.4 kB / 0.6675 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.217e-05/0.4597, allocations: 32.2 kB / 0.6676 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.988e-05/0.4598, allocations: 15.47 kB / 0.6676 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003103/0.4601, allocations: 0.5607 MB / 0.6681 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.4601, allocations: 34.56 kB / 0.6682 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4601, allocations: 1.156 kB / 0.6682 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002207/0.4604, allocations: 63.95 kB / 0.6682 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.4604, allocations: 51.41 kB / 0.6683 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.73e-05/0.4605, allocations: 130 kB / 0.6684 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.4605, allocations: 31.02 kB / 0.6684 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.4605, allocations: 85.33 kB / 0.6685 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.4605, allocations: 5.219 kB / 0.6685 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.4606, allocations: 12.22 kB / 0.6685 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.501e-05/0.4606, allocations: 324.1 kB / 0.6688 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.858e-05/0.4606, allocations: 9.656 kB / 0.6689 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.4607, allocations: 10.95 kB / 0.6689 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.498e-05/0.4608, allocations: 28.81 kB / 0.6689 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4608, allocations: 0 / 0.6689 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.832e-05/0.4609, allocations: 54.78 kB / 0.6689 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.4609, allocations: 5.438 kB / 0.6689 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.4609, allocations: 5.156 kB / 0.669 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4609, allocations: 0 / 0.669 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.55e-05/0.461, allocations: 12.58 kB / 0.669 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.461, allocations: 4.031 kB / 0.669 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.461, allocations: 2.781 kB / 0.669 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.461, allocations: 9.594 kB / 0.669 GB, free: 2.82 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 (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 4.453e-05/0.4611, allocations: 108.6 kB / 0.6691 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.4611, allocations: 2.469 kB / 0.6691 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001372/0.4613, allocations: 66.17 kB / 0.6691 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4613, allocations: 0 / 0.6691 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4613, allocations: 1.156 kB / 0.6691 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.4613, allocations: 4.031 kB / 0.6692 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.4614, allocations: 173 kB / 0.6693 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4614, allocations: 1.031 kB / 0.6693 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.4615, allocations: 4.562 kB / 0.6693 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4615, allocations: 0 / 0.6693 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.4615, allocations: 5.438 kB / 0.6693 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4615, allocations: 0 / 0.6693 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.4615, allocations: 3.984 kB / 0.6693 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.4616, allocations: 161.2 kB / 0.6695 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.4616, allocations: 83.64 kB / 0.6696 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.4617, allocations: 4 kB / 0.6696 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.782e-05/0.4617, allocations: 1.312 kB / 0.6696 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.4618, allocations: 5.578 kB / 0.6696 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.4618, allocations: 5.312 kB / 0.6696 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.4618, allocations: 102 kB / 0.6697 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4618, allocations: 0 / 0.6697 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002209/0.462, allocations: 12.66 kB / 0.6697 GB, free: 2.07 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 (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.0003057/0.4623, allocations: 0.686 MB / 0.6704 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.4625, allocations: 21.39 kB / 0.6704 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4625, allocations: 5.375 kB / 0.6704 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.4625, allocations: 15.02 kB / 0.6704 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.4627, allocations: 10.16 kB / 0.6704 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009061/0.4637, allocations: 1.317 MB / 0.6717 GB, free: 108 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.4639, allocations: 0.6802 MB / 0.6724 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.459e-05/0.4639, allocations: 10.64 kB / 0.6724 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.464, allocations: 16.59 kB / 0.6724 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.464, allocations: 0 / 0.6724 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.4813, allocations: 1.49 MB / 0.6738 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.228/7.709, allocations: 2.438 kB / 0.6738 GB, free: 14.55 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Splice.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)