Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.00688/0.00688, allocations: 97.62 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.001812/0.001812, allocations: 201.8 kB / 16.68 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.506/1.506, 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 1.022/1.022, allocations: 135.5 MB / 426.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 71.88 kB / 0.5858 GB, free: 3.152 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4025, allocations: 81.02 MB / 0.6649 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001518/0.404, allocations: 0.5813 MB / 0.6655 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005505/0.4046, allocations: 344.2 kB / 0.6658 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.969e-05/0.4046, allocations: 5 kB / 0.6658 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.4046, allocations: 0 / 0.6658 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.089e-05/0.4047, allocations: 0 / 0.6658 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.4051, allocations: 120.4 kB / 0.6659 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.994e-05/0.4052, allocations: 9.297 kB / 0.6659 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.4052, allocations: 5.375 kB / 0.6659 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.968e-05/0.4052, allocations: 6.297 kB / 0.6659 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.4053, allocations: 9.406 kB / 0.666 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.4053, allocations: 1.312 kB / 0.666 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.4057, allocations: 273.7 kB / 0.6662 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.4057, allocations: 5.25 kB / 0.6662 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.4057, allocations: 1.375 kB / 0.6662 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.4059, allocations: 93.91 kB / 0.6663 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4059, allocations: 0 / 0.6663 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.866e-06/0.4059, allocations: 1.375 kB / 0.6663 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.4059, allocations: 3.984 kB / 0.6663 GB, free: 5.973 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003339/0.4063, allocations: 346.6 kB / 0.6666 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4063, allocations: 9.375 kB / 0.6667 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.932e-05/0.4064, allocations: 30.75 kB / 0.6667 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.4064, allocations: 3.062 kB / 0.6667 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.503e-05/0.4065, allocations: 165.4 kB / 0.6668 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.4065, allocations: 384 / 0.6668 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.4065, allocations: 1.781 kB / 0.6668 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.388e-05/0.4066, allocations: 42.94 kB / 0.6669 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4066, allocations: 7.938 kB / 0.6669 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.4067, allocations: 1.125 kB / 0.6669 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4067, allocations: 0 / 0.6669 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.4067, allocations: 2.406 kB / 0.6669 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.4068, allocations: 153.5 kB / 0.667 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.488e-05/0.4069, allocations: 19.89 kB / 0.6671 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.4069, allocations: 6.453 kB / 0.6671 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006127/0.4075, allocations: 466.5 kB / 0.6675 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.4076, allocations: 31.88 kB / 0.6675 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.4076, allocations: 0 / 0.6675 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004711/0.408, allocations: 259.5 kB / 0.6678 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.4081, allocations: 57.12 kB / 0.6678 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.028e-05/0.4081, allocations: 92.17 kB / 0.6679 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.4082, allocations: 25.7 kB / 0.668 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.4082, allocations: 81.3 kB / 0.668 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.977e-05/0.4082, allocations: 17.34 kB / 0.6681 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.4083, allocations: 17.72 kB / 0.6681 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.4083, allocations: 320 kB / 0.6684 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.4083, allocations: 7.703 kB / 0.6684 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/0.4084, allocations: 14.88 kB / 0.6684 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.161e-05/0.4084, allocations: 30.75 kB / 0.6684 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4084, allocations: 4 kB / 0.6684 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.683e-05/0.4085, allocations: 49.41 kB / 0.6685 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.4086, allocations: 8.969 kB / 0.6685 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4086, allocations: 1.719 kB / 0.6685 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.4086, allocations: 0 / 0.6685 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.4087, allocations: 10.06 kB / 0.6685 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.4087, allocations: 5.359 kB / 0.6685 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.944e-05/0.4087, allocations: 1.094 kB / 0.6685 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.4087, allocations: 5.469 kB / 0.6685 GB, free: 3.52 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.226e-05/0.4088, allocations: 115.4 kB / 0.6686 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.4088, allocations: 14.3 kB / 0.6686 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.409, allocations: 48.41 kB / 0.6687 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.409, allocations: 1.219 kB / 0.6687 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.409, allocations: 0 / 0.6687 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.409, allocations: 4.125 kB / 0.6687 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.033e-05/0.4091, allocations: 154 kB / 0.6688 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4091, allocations: 0 / 0.6688 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.4092, allocations: 13.05 kB / 0.6688 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4092, allocations: 9.391 kB / 0.6689 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.4092, allocations: 0 / 0.6689 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.4092, allocations: 0 / 0.6689 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4092, allocations: 1.062 kB / 0.6689 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.4093, allocations: 73.94 kB / 0.6689 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.4094, allocations: 82.17 kB / 0.669 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.4094, allocations: 1.5 kB / 0.669 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.564e-05/0.4094, allocations: 8 kB / 0.669 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.4094, allocations: 5.266 kB / 0.669 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/0.4095, allocations: 1.469 kB / 0.669 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.796e-05/0.4095, allocations: 78.38 kB / 0.6691 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4095, allocations: 3.938 kB / 0.6691 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002145/0.4097, allocations: 26.31 kB / 0.6691 GB, free: 2.852 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.000391/0.4101, allocations: 0.6473 MB / 0.6698 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.529e-05/0.4102, allocations: 20.69 kB / 0.6698 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4102, allocations: 0 / 0.6698 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.655e-05/0.4102, allocations: 5.438 kB / 0.6698 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.4104, allocations: 11.14 kB / 0.6698 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007104/0.4111, allocations: 1.129 MB / 0.6709 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.55e-05/0.4112, allocations: 0.6766 MB / 0.6716 GB, free: 368 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.4113, allocations: 7.547 kB / 0.6716 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.4113, allocations: 8.844 kB / 0.6716 GB, free: 356 kB / 0.4981 GB Notification: Performance of SimCode: time 4.1e-07/0.4113, allocations: 0 / 0.6716 GB, free: 356 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.4349, allocations: 1.723 MB / 0.6733 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.556/7.99, allocations: 16.56 kB / 0.6733 GB, free: 15.43 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)