Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0008109/0.0008109, 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.0008186/0.0008186, allocations: 169.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.8761/0.8761, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7084/0.7084, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.799e-06/4.799e-06, allocations: 4 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/3.095e-05, allocations: 5.234 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001877/0.001907, allocations: 0.6308 MB / 0.6188 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.002715, allocations: 322.8 kB / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.002759, allocations: 0 / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.335e-05/0.002782, allocations: 0 / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.478e-05/0.002827, allocations: 3.938 kB / 0.6191 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006158/0.003443, allocations: 114.5 kB / 0.6192 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.623e-05/0.003529, allocations: 27.91 kB / 0.6192 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.003584, allocations: 11.94 kB / 0.6192 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.782e-05/0.003652, allocations: 7.984 kB / 0.6192 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.003717, allocations: 11.98 kB / 0.6193 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.003738, allocations: 7.984 kB / 0.6193 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003712/0.004109, allocations: 251.7 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.004132, allocations: 11.92 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.004156, allocations: 7.984 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.004391, allocations: 127.7 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.004395, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.212e-06/0.004396, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.004401, allocations: 0 / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00043/0.004831, allocations: 290.1 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.004876, allocations: 8.031 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.294e-05/0.004919, allocations: 42.69 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.004978, allocations: 12.81 kB / 0.62 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.827e-05/0.005076, allocations: 109.7 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.00509, allocations: 384 / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.005114, allocations: 4.375 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.005265, allocations: 101.7 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.005278, allocations: 192 / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.00529, allocations: 384 / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.005298, allocations: 12.12 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.566e-05/0.005354, allocations: 15.98 kB / 0.6202 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.005535, allocations: 144.6 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.005657, allocations: 54.56 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.681e-05/0.005704, allocations: 29.08 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004645/0.006169, allocations: 75.92 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.0062, allocations: 38.53 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.006201, allocations: 4 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.001235/0.007436, allocations: 447.6 kB / 0.621 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.007477, allocations: 55.39 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.007546, allocations: 101.9 kB / 0.6211 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.007561, allocations: 25.7 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.007599, allocations: 88.08 kB / 0.6212 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.007649, allocations: 47.62 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.007697, allocations: 25.66 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.007806, allocations: 318.8 kB / 0.6216 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.681e-05/0.007853, allocations: 23.98 kB / 0.6216 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.95e-05/0.007893, allocations: 20 kB / 0.6217 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.007995, allocations: 56.84 kB / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.007997, allocations: 0 / 0.6217 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001696/0.008166, allocations: 96.77 kB / 0.6218 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.008187, allocations: 15.94 kB / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.008193, allocations: 0 / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.008208, allocations: 0 / 0.6218 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.008318, allocations: 23.92 kB / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.008323, allocations: 4 kB / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.798e-05/0.008351, allocations: 4 kB / 0.6218 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.008361, allocations: 4 kB / 0.6218 GB, free: 9.574 MB / 0.5886 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 (13): * Single equations (assignments): 13 * 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 8.101e-05/0.008442, allocations: 110.8 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.00847, allocations: 7.938 kB / 0.622 GB, free: 9.449 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.008665, allocations: 117.7 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.008667, allocations: 4 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.008672, allocations: 0 / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008676, allocations: 0 / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.009058, allocations: 321.5 kB / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.00906, allocations: 0 / 0.6224 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.009161, allocations: 23.92 kB / 0.6224 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.009163, allocations: 4 kB / 0.6224 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.009175, allocations: 4 kB / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.009177, allocations: 0 / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.009179, allocations: 0 / 0.6224 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.009436, allocations: 215.1 kB / 0.6226 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.009468, allocations: 16.08 kB / 0.6226 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.009481, allocations: 3.938 kB / 0.6226 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.009559, allocations: 11.98 kB / 0.6226 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.00958, allocations: 7.984 kB / 0.6227 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-06/0.009589, allocations: 4 kB / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.009624, allocations: 79.28 kB / 0.6227 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.009624, allocations: 0 / 0.6227 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003089/0.009933, allocations: 43.88 kB / 0.6228 GB, free: 8.543 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0006248/0.01056, allocations: 0.7943 MB / 0.6236 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.01067, allocations: 67.91 kB / 0.6236 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01068, allocations: 0 / 0.6236 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.265e-05/0.01071, allocations: 31.92 kB / 0.6236 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.01087, allocations: 10.23 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009299/0.0118, allocations: 1.382 MB / 0.625 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.901e-05/0.01185, allocations: 72.27 kB / 0.6251 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.01189, allocations: 16.02 kB / 0.6251 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.01193, allocations: 20.48 kB / 0.6251 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of SimCode: time 5.01e-07/0.01193, allocations: 0 / 0.6251 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.02894, allocations: 3.113 MB / 0.6282 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/6.831, allocations: 10.84 kB / 0.6282 GB, free: 3.074 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.431376214139163] Failed to read output from testmodel.py, exit status != 0: 6.910602363757789 6.918211312 6.911883316 Calling exit ...