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.009212/0.009212, allocations: 103.6 kB / 15.73 MB, free: 6.445 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.001898/0.001898, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8127/0.8127, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.91 kB / 0.5809 GB, free: 8.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4954, allocations: 80.2 MB / 0.6592 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001696/0.4972, allocations: 0.566 MB / 0.6598 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005729/0.4977, allocations: 329.4 kB / 0.6601 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.619e-05/0.4978, allocations: 0.7188 kB / 0.6601 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.4978, allocations: 3.938 kB / 0.6601 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-06/0.4978, allocations: 1.094 kB / 0.6601 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.4982, allocations: 104.6 kB / 0.6602 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.841e-05/0.4983, allocations: 6.016 kB / 0.6602 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.4983, allocations: 6.078 kB / 0.6602 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.279e-05/0.4983, allocations: 0 / 0.6602 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.928e-05/0.4984, allocations: 1.344 kB / 0.6602 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.4984, allocations: 0 / 0.6602 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.4988, allocations: 279.8 kB / 0.6605 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.125e-05/0.4988, allocations: 1.156 kB / 0.6605 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.541e-05/0.4989, allocations: 0 / 0.6605 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.4991, allocations: 86.89 kB / 0.6606 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4991, allocations: 1.531 kB / 0.6606 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4991, allocations: 0 / 0.6606 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.4991, allocations: 4 kB / 0.6606 GB, free: 9.141 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.000282/0.4994, allocations: 331.8 kB / 0.6609 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4994, allocations: 9.656 kB / 0.6609 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.611e-05/0.4994, allocations: 35.31 kB / 0.6609 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.4995, allocations: 6.25 kB / 0.6609 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.683e-05/0.4996, allocations: 161.6 kB / 0.6611 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.4996, allocations: 384 / 0.6611 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.4996, allocations: 6.203 kB / 0.6611 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.593e-05/0.4997, allocations: 28.25 kB / 0.6611 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4997, allocations: 9.188 kB / 0.6611 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.4997, allocations: 3.984 kB / 0.6611 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4997, allocations: 0.6562 kB / 0.6611 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.4997, allocations: 2.312 kB / 0.6611 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.792e-05/0.4998, allocations: 144.8 kB / 0.6613 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.287e-05/0.4999, allocations: 19.95 kB / 0.6613 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.4999, allocations: 10.5 kB / 0.6613 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004219/0.5003, allocations: 429.8 kB / 0.6617 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.354e-05/0.5003, allocations: 31.31 kB / 0.6617 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.5004, allocations: 0 / 0.6617 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001376/0.5005, allocations: 36.5 kB / 0.6618 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.864e-05/0.5005, allocations: 53.38 kB / 0.6618 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.787e-05/0.5005, allocations: 93.98 kB / 0.6619 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.5006, allocations: 25.7 kB / 0.6619 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.351e-05/0.5006, allocations: 80.14 kB / 0.662 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.5006, allocations: 2.078 kB / 0.662 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.5006, allocations: 15.91 kB / 0.662 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.5007, allocations: 312.7 kB / 0.6623 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.147e-06/0.5007, allocations: 7.875 kB / 0.6623 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.5007, allocations: 1.406 kB / 0.6623 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.426e-05/0.5007, allocations: 12.22 kB / 0.6624 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5008, allocations: 1.406 kB / 0.6624 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.754e-05/0.5008, allocations: 32.97 kB / 0.6624 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5008, allocations: 8.922 kB / 0.6624 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5008, allocations: 5.125 kB / 0.6624 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.5009, allocations: 0 / 0.6624 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.86e-05/0.5009, allocations: 6.125 kB / 0.6624 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5009, allocations: 1.281 kB / 0.6624 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-06/0.5009, allocations: 0 / 0.6624 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.501, allocations: 6.156 kB / 0.6624 GB, free: 7.035 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 4.718e-05/0.501, allocations: 110.4 kB / 0.6625 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.501, allocations: 1.281 kB / 0.6625 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.886e-05/0.5011, allocations: 41.83 kB / 0.6626 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5011, allocations: 2.156 kB / 0.6626 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5011, allocations: 0 / 0.6626 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.5011, allocations: 0 / 0.6626 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.361e-05/0.5012, allocations: 152.9 kB / 0.6627 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5012, allocations: 0 / 0.6627 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.5012, allocations: 2.734 kB / 0.6627 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.5012, allocations: 1.375 kB / 0.6627 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.5012, allocations: 3.938 kB / 0.6627 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5012, allocations: 4.656 kB / 0.6627 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.5012, allocations: 1.469 kB / 0.6627 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.463e-05/0.5013, allocations: 56.75 kB / 0.6628 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.224e-05/0.5013, allocations: 90.81 kB / 0.6629 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.5014, allocations: 4.594 kB / 0.6629 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-06/0.5014, allocations: 1.125 kB / 0.6629 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.5014, allocations: 0.7031 kB / 0.6629 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.5014, allocations: 1.062 kB / 0.6629 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.638e-05/0.5014, allocations: 75.28 kB / 0.6629 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5014, allocations: 1.656 kB / 0.6629 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002041/0.5016, allocations: 9.172 kB / 0.663 GB, free: 6.422 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.0003126/0.5019, allocations: 0.6168 MB / 0.6636 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.691e-05/0.502, allocations: 8.641 kB / 0.6636 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.502, allocations: 0 / 0.6636 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.873e-06/0.502, allocations: 2.438 kB / 0.6636 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.5022, allocations: 1.891 kB / 0.6636 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.5024, allocations: 125 kB / 0.6637 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.5026, allocations: 0.6702 MB / 0.6643 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.5e-05/0.5026, allocations: 1.344 kB / 0.6643 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.379e-05/0.5026, allocations: 9.547 kB / 0.6644 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.5026, allocations: 3.938 kB / 0.6644 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.5197, allocations: 1.168 MB / 0.6655 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.849, allocations: 7.609 kB / 0.6655 GB, free: 4.492 MB / 0.4981 GB (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)