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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007804/0.0007804, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008132/0.0008132, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9165/0.9165, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7097/0.7097, allocations: 154.5 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.6181 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.306e-05, allocations: 6.062 kB / 0.6181 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002074/0.002107, allocations: 0.603 MB / 0.6187 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.002858, allocations: 322.8 kB / 0.619 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.002886, allocations: 0 / 0.619 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 1.758e-05/0.002904, allocations: 0 / 0.619 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 2.162e-05/0.002926, allocations: 4 kB / 0.619 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.003493, allocations: 114.1 kB / 0.6191 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 5.873e-05/0.003552, allocations: 7.938 kB / 0.6191 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.003604, allocations: 4 kB / 0.6191 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.003645, allocations: 7.984 kB / 0.6191 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 6.508e-05/0.00371, allocations: 7.984 kB / 0.6191 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.003728, allocations: 0 / 0.6191 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.004123, allocations: 255.6 kB / 0.6194 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.004142, allocations: 11.98 kB / 0.6194 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.00417, allocations: 7.938 kB / 0.6194 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.004429, allocations: 115.7 kB / 0.6195 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.004434, allocations: 0 / 0.6195 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.165e-06/0.004436, allocations: 0 / 0.6195 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.004441, allocations: 0 / 0.6195 GB, free: 11.13 MB / 0.5417 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.0003966/0.004838, allocations: 270.1 kB / 0.6198 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.004889, allocations: 13.45 kB / 0.6198 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.004931, allocations: 34.75 kB / 0.6198 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.86e-05/0.00499, allocations: 0.9375 kB / 0.6198 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.857e-05/0.005089, allocations: 105.8 kB / 0.6199 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.005102, allocations: 4.375 kB / 0.6199 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.005124, allocations: 384 / 0.6199 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.00525, allocations: 63.95 kB / 0.62 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.005258, allocations: 192 / 0.62 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.005269, allocations: 4.359 kB / 0.62 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.005275, allocations: 8.062 kB / 0.62 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.475e-05/0.005299, allocations: 7.938 kB / 0.62 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.00546, allocations: 120.8 kB / 0.6201 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.887e-05/0.005519, allocations: 22.59 kB / 0.6201 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.005539, allocations: 12.92 kB / 0.6201 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000504/0.006043, allocations: 75.86 kB / 0.6202 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.006075, allocations: 34.56 kB / 0.6202 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.006076, allocations: 4 kB / 0.6202 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0005425/0.006619, allocations: 177.2 kB / 0.6204 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.006655, allocations: 55.34 kB / 0.6205 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.006715, allocations: 97.84 kB / 0.6206 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.006727, allocations: 25.7 kB / 0.6206 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.201e-05/0.006759, allocations: 84.12 kB / 0.6207 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.006788, allocations: 19.84 kB / 0.6207 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.006824, allocations: 13.72 kB / 0.6207 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.006923, allocations: 319.2 kB / 0.621 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.006942, allocations: 8 kB / 0.621 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.006973, allocations: 17.72 kB / 0.621 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.173e-05/0.007025, allocations: 29.7 kB / 0.6211 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007026, allocations: 0 / 0.6211 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001182/0.007144, allocations: 49.64 kB / 0.6211 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.00716, allocations: 6.656 kB / 0.6211 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.007166, allocations: 0 / 0.6211 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.007184, allocations: 7.938 kB / 0.6211 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.738e-05/0.007251, allocations: 12.05 kB / 0.6211 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.007257, allocations: 0 / 0.6211 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.97e-05/0.007276, allocations: 4 kB / 0.6211 GB, free: 9.219 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.007283, allocations: 0 / 0.6211 GB, free: 9.219 MB / 0.5417 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.895e-05/0.007352, allocations: 114.8 kB / 0.6212 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.007374, allocations: 4 kB / 0.6212 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.007501, allocations: 49.38 kB / 0.6213 GB, free: 9.031 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.007506, allocations: 7.922 kB / 0.6213 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.007512, allocations: 8 kB / 0.6213 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007515, allocations: 0 / 0.6213 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.971e-05/0.007605, allocations: 120.8 kB / 0.6214 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.007606, allocations: 0 / 0.6214 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.007666, allocations: 11.98 kB / 0.6214 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007669, allocations: 0 / 0.6214 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.007675, allocations: 0 / 0.6214 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.00768, allocations: 3.938 kB / 0.6214 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007681, allocations: 0 / 0.6214 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.007826, allocations: 88.95 kB / 0.6215 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.291e-06/0.007832, allocations: 4.172 kB / 0.6215 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.007844, allocations: 4.062 kB / 0.6215 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.198e-05/0.007886, allocations: 7.969 kB / 0.6215 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.007903, allocations: 7.969 kB / 0.6215 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.007908, allocations: 0 / 0.6215 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.107e-05/0.007939, allocations: 79.28 kB / 0.6216 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.00794, allocations: 0 / 0.6216 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002488/0.008188, allocations: 27.94 kB / 0.6216 GB, free: 8.605 MB / 0.5417 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.0005056/0.008694, allocations: 0.6358 MB / 0.6223 GB, free: 7.938 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.655e-05/0.008791, allocations: 16.16 kB / 0.6223 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.008792, allocations: 0 / 0.6223 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.875e-05/0.008811, allocations: 15.92 kB / 0.6223 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.008976, allocations: 7.938 kB / 0.6223 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.009937, allocations: 1.127 MB / 0.6234 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/0.009986, allocations: 63.34 kB / 0.6235 GB, free: 6.598 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.633e-05/0.01002, allocations: 4.172 kB / 0.6235 GB, free: 6.594 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.01006, allocations: 16.5 kB / 0.6235 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/0.01006, allocations: 0 / 0.6235 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.03018, allocations: 2.387 MB / 0.6258 GB, free: 4.371 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/6.967, allocations: 2.031 kB / 0.6258 GB, free: 4.371 MB / 0.5417 GB " [Timeout remaining time 653] (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 --stepSize=0.0008 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.594811217859387] Failed to read output from testmodel.py, exit status != 0: 7.046308906748891 7.055147859 7.048527953 Calling exit ...