Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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-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.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.005294/0.005294, allocations: 98.55 kB / 15.73 MB, free: 6.047 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.001136/0.001136, allocations: 194 kB / 16.67 MB, free: 5.969 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 63.89 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4565, allocations: 80.92 MB / 0.6642 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002475/0.4591, allocations: 1.444 MB / 0.6656 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006196/0.4597, allocations: 381.3 kB / 0.6659 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.4597, allocations: 0 / 0.6659 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.807e-05/0.4598, allocations: 3.938 kB / 0.6659 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.4598, allocations: 1.531 kB / 0.6659 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.4602, allocations: 119.4 kB / 0.6661 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.382e-05/0.4603, allocations: 25.55 kB / 0.6661 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.149e-05/0.4604, allocations: 3.562 kB / 0.6661 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.61e-05/0.4605, allocations: 15.86 kB / 0.6661 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.4605, allocations: 15.98 kB / 0.6661 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.4605, allocations: 1.5 kB / 0.6661 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.4609, allocations: 276 kB / 0.6664 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.4609, allocations: 5.469 kB / 0.6664 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.4609, allocations: 9.156 kB / 0.6664 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.4611, allocations: 112.5 kB / 0.6665 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4612, allocations: 0 / 0.6665 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4612, allocations: 1.125 kB / 0.6665 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.4612, allocations: 0 / 0.6665 GB, free: 5.473 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004341/0.4616, allocations: 359 kB / 0.6668 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4617, allocations: 8.938 kB / 0.6669 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.928e-05/0.4617, allocations: 36.2 kB / 0.6669 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.703e-05/0.4618, allocations: 2.156 kB / 0.6669 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.4619, allocations: 174.8 kB / 0.6671 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4619, allocations: 5.906 kB / 0.6671 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.4619, allocations: 4.375 kB / 0.6671 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.4621, allocations: 50.17 kB / 0.6671 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4621, allocations: 3.938 kB / 0.6671 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4621, allocations: 9.219 kB / 0.6671 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.4621, allocations: 0 / 0.6671 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.4623, allocations: 35.67 kB / 0.6672 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.4625, allocations: 249.2 kB / 0.6674 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.4627, allocations: 48.61 kB / 0.6674 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.4627, allocations: 22.88 kB / 0.6675 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005501/0.4633, allocations: 455.5 kB / 0.6679 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.4633, allocations: 30.56 kB / 0.6679 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.4633, allocations: 1.094 kB / 0.6679 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003678/0.4637, allocations: 90.28 kB / 0.668 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.4637, allocations: 51.41 kB / 0.6681 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.612e-05/0.4638, allocations: 105.9 kB / 0.6682 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.4638, allocations: 25.7 kB / 0.6682 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.4639, allocations: 85.64 kB / 0.6683 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.4639, allocations: 9.594 kB / 0.6683 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.4639, allocations: 18.72 kB / 0.6683 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.464, allocations: 317.2 kB / 0.6686 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-05/0.4641, allocations: 16.39 kB / 0.6686 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.962e-05/0.4641, allocations: 17.66 kB / 0.6686 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.4643, allocations: 36.83 kB / 0.6687 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4643, allocations: 3.938 kB / 0.6687 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001919/0.4645, allocations: 77.52 kB / 0.6688 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4645, allocations: 5.125 kB / 0.6688 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4645, allocations: 2.031 kB / 0.6688 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4645, allocations: 0 / 0.6688 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.4646, allocations: 9.25 kB / 0.6688 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4646, allocations: 9.422 kB / 0.6688 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.527e-05/0.4647, allocations: 3.281 kB / 0.6688 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.4647, allocations: 1.125 kB / 0.6688 GB, free: 3.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 (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 6.864e-05/0.4648, allocations: 114.9 kB / 0.6689 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.4648, allocations: 2.75 kB / 0.6689 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.465, allocations: 76.61 kB / 0.669 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.465, allocations: 0 / 0.669 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.4651, allocations: 0 / 0.669 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4651, allocations: 1.156 kB / 0.669 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.4652, allocations: 162.9 kB / 0.6691 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4652, allocations: 8.016 kB / 0.6691 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.694e-05/0.4653, allocations: 14.41 kB / 0.6691 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4653, allocations: 0 / 0.6691 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.4653, allocations: 1.562 kB / 0.6691 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4653, allocations: 0 / 0.6691 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4653, allocations: 3.938 kB / 0.6691 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.4655, allocations: 167.7 kB / 0.6693 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.4655, allocations: 82.41 kB / 0.6694 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.4656, allocations: 5.156 kB / 0.6694 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.4656, allocations: 3.594 kB / 0.6694 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.4657, allocations: 5.172 kB / 0.6694 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.4657, allocations: 1.438 kB / 0.6694 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.158e-05/0.4657, allocations: 79.12 kB / 0.6695 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4657, allocations: 1.219 kB / 0.6695 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002209/0.4659, allocations: 20.06 kB / 0.6695 GB, free: 2.336 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.0004841/0.4664, allocations: 0.719 MB / 0.6702 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.4666, allocations: 37.22 kB / 0.6702 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4666, allocations: 0 / 0.6702 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.122e-05/0.4667, allocations: 24.78 kB / 0.6703 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.467, allocations: 1.375 kB / 0.6703 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.4674, allocations: 144.5 kB / 0.6704 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.4675, allocations: 0.6772 MB / 0.6711 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.4676, allocations: 9.688 kB / 0.6711 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.4676, allocations: 12.97 kB / 0.6711 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.4676, allocations: 0 / 0.6711 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0235/0.4911, allocations: 1.58 MB / 0.6726 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.99, allocations: 6.984 kB / 0.6726 GB, free: 15.84 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)