Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",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.0007906/0.0007907, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004874/0.004874, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.299/1.299, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7375/0.7375, allocations: 132.3 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003456, allocations: 13.88 kB / 0.5041 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4033, allocations: 81.57 MB / 0.5838 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006584/0.404, allocations: 323.5 kB / 0.5841 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006489/0.4047, allocations: 338 kB / 0.5844 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-06/0.4047, allocations: 0 / 0.5844 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.525e-05/0.4048, allocations: 0 / 0.5844 GB, free: 3.621 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.4048, allocations: 5.25 kB / 0.5844 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.4052, allocations: 65.52 kB / 0.5845 GB, free: 3.594 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.498e-05/0.4052, allocations: 6.297 kB / 0.5845 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.4053, allocations: 0 / 0.5845 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.309e-05/0.4053, allocations: 1.938 kB / 0.5845 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.113e-05/0.4053, allocations: 0.8125 kB / 0.5845 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.4054, allocations: 0 / 0.5845 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004684/0.4058, allocations: 271.2 kB / 0.5847 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.988e-06/0.4058, allocations: 7.922 kB / 0.5847 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.158e-05/0.4059, allocations: 35.2 kB / 0.5848 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.4061, allocations: 78.08 kB / 0.5848 GB, free: 3.457 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.4061, allocations: 1.219 kB / 0.5848 GB, free: 3.457 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4061, allocations: 0 / 0.5848 GB, free: 3.457 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.4061, allocations: 0 / 0.5848 GB, free: 3.457 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.0002476/0.4063, allocations: 334.5 kB / 0.5852 GB, free: 3.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4064, allocations: 8.969 kB / 0.5852 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.454e-05/0.4064, allocations: 36.41 kB / 0.5852 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.4065, allocations: 0.9375 kB / 0.5852 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.795e-05/0.4065, allocations: 162.8 kB / 0.5854 GB, free: 2.852 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.4065, allocations: 4.375 kB / 0.5854 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.4066, allocations: 1.438 kB / 0.5854 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.427e-05/0.4066, allocations: 33.2 kB / 0.5854 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.4067, allocations: 3.938 kB / 0.5854 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.4067, allocations: 0.875 kB / 0.5854 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4067, allocations: 0 / 0.5854 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.969e-05/0.4067, allocations: 6.516 kB / 0.5854 GB, free: 2.805 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.411e-05/0.4068, allocations: 148.3 kB / 0.5856 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.843e-05/0.4068, allocations: 20.58 kB / 0.5856 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.415e-05/0.4069, allocations: 6.625 kB / 0.5856 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003975/0.4073, allocations: 429 kB / 0.586 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.4073, allocations: 35.95 kB / 0.586 GB, free: 2.059 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4073, allocations: 4 kB / 0.586 GB, free: 2.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.4074, allocations: 36.47 kB / 0.5861 GB, free: 2.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.4075, allocations: 52.44 kB / 0.5861 GB, free: 1.957 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.531e-05/0.4075, allocations: 94.61 kB / 0.5862 GB, free: 1.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.4075, allocations: 25.7 kB / 0.5862 GB, free: 1.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.719e-06/0.4075, allocations: 81.02 kB / 0.5863 GB, free: 1.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.4075, allocations: 4.781 kB / 0.5863 GB, free: 1.738 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/0.4076, allocations: 10.38 kB / 0.5863 GB, free: 1.723 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.956e-05/0.4076, allocations: 316.6 kB / 0.5866 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-06/0.4076, allocations: 0.875 kB / 0.5866 GB, free: 1.406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.4076, allocations: 0.8125 kB / 0.5866 GB, free: 1.406 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.4077, allocations: 12.06 kB / 0.5866 GB, free: 1.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4077, allocations: 0.75 kB / 0.5866 GB, free: 1.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.783e-05/0.4077, allocations: 36.39 kB / 0.5867 GB, free: 1.359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4078, allocations: 6.5 kB / 0.5867 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4078, allocations: 4.5 kB / 0.5867 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4078, allocations: 4.094 kB / 0.5867 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.878e-05/0.4078, allocations: 2.109 kB / 0.5867 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.4079, allocations: 1.719 kB / 0.5867 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.002e-05/0.4079, allocations: 0 / 0.5867 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.4079, allocations: 0.5625 kB / 0.5867 GB, free: 1.352 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 4.154e-05/0.4079, allocations: 108.1 kB / 0.5868 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.4079, allocations: 1.219 kB / 0.5868 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/0.408, allocations: 51.88 kB / 0.5868 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.408, allocations: 4.734 kB / 0.5868 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.408, allocations: 1.312 kB / 0.5868 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4081, allocations: 0 / 0.5868 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.302e-05/0.4081, allocations: 148.5 kB / 0.587 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4081, allocations: 0 / 0.587 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.4081, allocations: 3.078 kB / 0.587 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4081, allocations: 0 / 0.587 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-06/0.4082, allocations: 4.594 kB / 0.587 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4082, allocations: 0.7031 kB / 0.587 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4082, allocations: 1.188 kB / 0.587 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.954e-05/0.4082, allocations: 69.86 kB / 0.5871 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.316e-05/0.4083, allocations: 77.67 kB / 0.5871 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.4083, allocations: 5.391 kB / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-06/0.4083, allocations: 0.8125 kB / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.4083, allocations: 0.7031 kB / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-06/0.4083, allocations: 0.75 kB / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.164e-05/0.4083, allocations: 80.25 kB / 0.5872 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4083, allocations: 4.031 kB / 0.5872 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002008/0.4085, allocations: 9.328 kB / 0.5872 GB, free: 0.7305 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.0002824/0.4088, allocations: 0.611 MB / 0.5878 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.868e-05/0.4089, allocations: 8.5 kB / 0.5878 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4089, allocations: 4.094 kB / 0.5878 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-06/0.4089, allocations: 2.25 kB / 0.5878 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.4091, allocations: 2.453 kB / 0.5878 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.4093, allocations: 105.7 kB / 0.5879 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.4095, allocations: 0.6714 MB / 0.5886 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.88e-05/0.4096, allocations: 1.469 kB / 0.5886 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.48e-05/0.4096, allocations: 8.125 kB / 0.5886 GB, free: 15.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4096, allocations: 5.25 kB / 0.5886 GB, free: 15.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1294/0.539, allocations: 0.9848 MB / 0.5896 GB, free: 15.15 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/0.5393, allocations: 191.8 kB / 0.5898 GB, free: 14.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/2.096, allocations: 0 / 0.5898 GB, free: 14.9 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)