Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep",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.007675/0.007675, allocations: 101.8 kB / 15.73 MB, free: 6.016 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.001737/0.001737, allocations: 188.2 kB / 16.67 MB, free: 5.949 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9122/0.9122, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 63.91 kB / 0.5852 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4796, allocations: 80.91 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001545/0.4811, allocations: 0.5757 MB / 0.6648 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002662/0.4814, allocations: 60.44 kB / 0.6648 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.821e-05/0.4815, allocations: 4 kB / 0.6648 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.668e-05/0.4815, allocations: 0 / 0.6648 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-06/0.4815, allocations: 0 / 0.6648 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.4817, allocations: 12.83 kB / 0.6648 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.729e-05/0.4818, allocations: 1.375 kB / 0.6648 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.4819, allocations: 5.391 kB / 0.6648 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.71e-05/0.4819, allocations: 1.25 kB / 0.6648 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.51e-05/0.4819, allocations: 1.25 kB / 0.6648 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.4819, allocations: 3.938 kB / 0.6648 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.482, allocations: 22.03 kB / 0.6649 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.4821, allocations: 5.25 kB / 0.6649 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.4821, allocations: 0 / 0.6649 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.4822, allocations: 13.98 kB / 0.6649 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4822, allocations: 1.281 kB / 0.6649 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4822, allocations: 0 / 0.6649 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4822, allocations: 0 / 0.6649 GB, free: 6.766 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.0002725/0.4825, allocations: 319.2 kB / 0.6652 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.4826, allocations: 8.781 kB / 0.6652 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.4826, allocations: 31.81 kB / 0.6652 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003113/0.4829, allocations: 21.53 kB / 0.6652 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.05e-05/0.483, allocations: 169.6 kB / 0.6654 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.483, allocations: 384 / 0.6654 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.483, allocations: 1.812 kB / 0.6654 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.4832, allocations: 38.12 kB / 0.6654 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4832, allocations: 3.938 kB / 0.6655 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.4832, allocations: 0 / 0.6655 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4832, allocations: 3.984 kB / 0.6655 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.729e-05/0.4833, allocations: 18.23 kB / 0.6655 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.4834, allocations: 147 kB / 0.6656 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/0.4835, allocations: 22.27 kB / 0.6656 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/0.4835, allocations: 12.84 kB / 0.6656 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.4836, allocations: 0 / 0.6656 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.2e-05/0.4836, allocations: 35.81 kB / 0.6657 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.4836, allocations: 0 / 0.6657 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002299/0.4838, allocations: 52.83 kB / 0.6657 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.4838, allocations: 51.41 kB / 0.6658 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.83e-05/0.4839, allocations: 89.86 kB / 0.6659 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.4839, allocations: 26.86 kB / 0.6659 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.373e-05/0.4839, allocations: 84.14 kB / 0.666 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.4839, allocations: 5.219 kB / 0.666 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.484, allocations: 10.81 kB / 0.666 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.587e-05/0.484, allocations: 311.9 kB / 0.6663 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.687e-05/0.4841, allocations: 7.547 kB / 0.6663 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.4841, allocations: 2.781 kB / 0.6663 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.752e-05/0.4842, allocations: 14.97 kB / 0.6663 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4842, allocations: 5.469 kB / 0.6663 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001113/0.4843, allocations: 46.53 kB / 0.6664 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.4844, allocations: 9.297 kB / 0.6664 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4844, allocations: 3.938 kB / 0.6664 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4844, allocations: 5.031 kB / 0.6664 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.4845, allocations: 2.688 kB / 0.6664 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4845, allocations: 0 / 0.6664 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.4845, allocations: 5.406 kB / 0.6664 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.4845, allocations: 5.281 kB / 0.6664 GB, free: 5.082 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 5.563e-05/0.4846, allocations: 112.7 kB / 0.6665 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-06/0.4846, allocations: 0 / 0.6665 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.4846, allocations: 8.188 kB / 0.6665 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.4846, allocations: 0 / 0.6665 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4846, allocations: 1.344 kB / 0.6665 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4847, allocations: 0 / 0.6665 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.224e-05/0.4847, allocations: 143 kB / 0.6666 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4847, allocations: 3.984 kB / 0.6666 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.4848, allocations: 10.81 kB / 0.6667 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.4848, allocations: 0 / 0.6667 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.4848, allocations: 5.156 kB / 0.6667 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.4848, allocations: 3.938 kB / 0.6667 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4848, allocations: 1.094 kB / 0.6667 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.4849, allocations: 66.8 kB / 0.6667 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.485, allocations: 83.39 kB / 0.6668 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.485, allocations: 5.281 kB / 0.6668 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.991e-05/0.485, allocations: 1.375 kB / 0.6668 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.485, allocations: 1.406 kB / 0.6668 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.485, allocations: 0 / 0.6668 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.662e-05/0.4851, allocations: 81.95 kB / 0.6669 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4851, allocations: 0 / 0.6669 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001693/0.4852, allocations: 1.375 kB / 0.6669 GB, free: 4.492 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.0003183/0.4856, allocations: 0.6097 MB / 0.6675 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.4857, allocations: 11.64 kB / 0.6675 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4857, allocations: 0 / 0.6675 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.485e-05/0.4858, allocations: 12.14 kB / 0.6675 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.4859, allocations: 5.281 kB / 0.6675 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.4862, allocations: 119.8 kB / 0.6676 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.4864, allocations: 0.6703 MB / 0.6683 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.4864, allocations: 9.375 kB / 0.6683 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.4864, allocations: 11.42 kB / 0.6683 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4864, allocations: 3.938 kB / 0.6683 GB, free: 3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.5012, allocations: 0.9348 MB / 0.6692 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/7.741, allocations: 5.172 kB / 0.6692 GB, free: 2.426 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)