Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.RegStep,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IDEAS_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.0008229/0.0008229, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.005012/0.005012, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7189/0.7189, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003102, allocations: 12.77 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3889, allocations: 81.57 MB / 0.5838 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.0005502/0.3895, allocations: 325.9 kB / 0.5841 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002127/0.3897, allocations: 47.17 kB / 0.5841 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-06/0.3897, allocations: 0 / 0.5841 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.648e-06/0.3897, allocations: 0.9062 kB / 0.5841 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-06/0.3897, allocations: 0 / 0.5841 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.3899, allocations: 10.17 kB / 0.5841 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.954e-05/0.39, allocations: 5.297 kB / 0.5841 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.39, allocations: 2.25 kB / 0.5841 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.17e-05/0.39, allocations: 0.8125 kB / 0.5841 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.597e-05/0.39, allocations: 0.8125 kB / 0.5841 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.3901, allocations: 3.984 kB / 0.5841 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.809e-05/0.3902, allocations: 29 kB / 0.5842 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.689e-06/0.3902, allocations: 0 / 0.5842 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.3902, allocations: 30.98 kB / 0.5842 GB, free: 3.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.545e-05/0.3903, allocations: 10.89 kB / 0.5842 GB, free: 3.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3903, allocations: 0 / 0.5842 GB, free: 3.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3903, allocations: 5.281 kB / 0.5842 GB, free: 3.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3903, allocations: 0 / 0.5842 GB, free: 3.73 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002037/0.3905, allocations: 315.7 kB / 0.5845 GB, free: 3.375 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3906, allocations: 9.625 kB / 0.5845 GB, free: 3.375 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.3906, allocations: 31.78 kB / 0.5845 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.3909, allocations: 17.77 kB / 0.5846 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.534e-05/0.3909, allocations: 161.7 kB / 0.5847 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.3909, allocations: 1.688 kB / 0.5847 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-06/0.3909, allocations: 5.031 kB / 0.5847 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.391, allocations: 33.94 kB / 0.5848 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3911, allocations: 8.641 kB / 0.5848 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-06/0.3911, allocations: 0 / 0.5848 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3911, allocations: 1.578 kB / 0.5848 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.688e-05/0.3912, allocations: 13.31 kB / 0.5848 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.292e-05/0.3913, allocations: 149.1 kB / 0.5849 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.555e-05/0.3913, allocations: 23.73 kB / 0.5849 GB, free: 2.875 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.3914, allocations: 10.17 kB / 0.585 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.3914, allocations: 1.969 kB / 0.585 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.028e-05/0.3914, allocations: 30.56 kB / 0.585 GB, free: 2.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3914, allocations: 1.281 kB / 0.585 GB, free: 2.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002179/0.3917, allocations: 58.86 kB / 0.585 GB, free: 2.781 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.3917, allocations: 52.41 kB / 0.5851 GB, free: 2.719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.52e-05/0.3917, allocations: 90.52 kB / 0.5852 GB, free: 2.621 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.3917, allocations: 25.7 kB / 0.5852 GB, free: 2.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.248e-06/0.3917, allocations: 84.77 kB / 0.5853 GB, free: 2.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.3918, allocations: 5.859 kB / 0.5853 GB, free: 2.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.3918, allocations: 9.719 kB / 0.5853 GB, free: 2.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.635e-05/0.3918, allocations: 315.4 kB / 0.5856 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.537e-05/0.3919, allocations: 9.156 kB / 0.5856 GB, free: 2.164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.823e-05/0.3919, allocations: 6.172 kB / 0.5856 GB, free: 2.164 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.64e-05/0.392, allocations: 19.08 kB / 0.5856 GB, free: 2.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.392, allocations: 0 / 0.5856 GB, free: 2.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001131/0.3921, allocations: 43.91 kB / 0.5857 GB, free: 2.117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.3922, allocations: 5.469 kB / 0.5857 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3922, allocations: 7.938 kB / 0.5857 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3922, allocations: 0.625 kB / 0.5857 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.3923, allocations: 5.062 kB / 0.5857 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3923, allocations: 1 kB / 0.5857 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.154e-05/0.3923, allocations: 2.641 kB / 0.5857 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.3923, allocations: 0 / 0.5857 GB, free: 2.109 MB / 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 (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.807e-05/0.3924, allocations: 109.4 kB / 0.5858 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.3924, allocations: 1.766 kB / 0.5858 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.3924, allocations: 11.72 kB / 0.5858 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3924, allocations: 5.344 kB / 0.5858 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3924, allocations: 0 / 0.5858 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3924, allocations: 0.5156 kB / 0.5858 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.561e-05/0.3925, allocations: 149 kB / 0.586 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3925, allocations: 0 / 0.586 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.3925, allocations: 5.094 kB / 0.586 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3925, allocations: 0.9062 kB / 0.586 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3925, allocations: 4.641 kB / 0.586 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3925, allocations: 0.9688 kB / 0.586 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3926, allocations: 4 kB / 0.586 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.3927, allocations: 70.08 kB / 0.586 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.3927, allocations: 79.92 kB / 0.5861 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.3927, allocations: 5.609 kB / 0.5861 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.109e-05/0.3928, allocations: 2.109 kB / 0.5861 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.43e-05/0.3928, allocations: 1.469 kB / 0.5861 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.3928, allocations: 4.75 kB / 0.5861 GB, free: 1.609 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.162e-05/0.3928, allocations: 77.77 kB / 0.5862 GB, free: 1.535 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3928, allocations: 0 / 0.5862 GB, free: 1.535 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001753/0.393, allocations: 1.844 kB / 0.5862 GB, free: 1.535 MB / 430.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 (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.0002722/0.3933, allocations: 0.6063 MB / 0.5868 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.3934, allocations: 15.03 kB / 0.5868 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3934, allocations: 5.344 kB / 0.5868 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/0.3935, allocations: 6.156 kB / 0.5868 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.3936, allocations: 4.188 kB / 0.5868 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.3939, allocations: 113.5 kB / 0.5869 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.682e-05/0.394, allocations: 0.6709 MB / 0.5876 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.575e-05/0.394, allocations: 1.984 kB / 0.5876 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.394, allocations: 9.297 kB / 0.5876 GB, free: 88 kB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.394, allocations: 0 / 0.5876 GB, free: 88 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08686/0.4809, allocations: 0.7526 MB / 0.5883 GB, free: 15.95 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.4811, allocations: 187.8 kB / 0.5885 GB, free: 15.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.053, allocations: 3.844 kB / 0.5885 GB, free: 15.69 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegStep.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)