Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.001137/0.001137, allocations: 72.44 kB / 19.17 MB, free: 0.7344 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.0009439/0.0009439, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.878/0.878, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.6971/0.6971, allocations: 154.6 MB / 413.7 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.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.512e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001048/0.001064, allocations: 0.5483 MB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0005469/0.00161, allocations: 310.9 kB / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.001634, allocations: 0 / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.00165, allocations: 0 / 0.6189 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.128e-05/0.001682, allocations: 11.81 kB / 0.6189 GB, free: 12.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.002067, allocations: 107.6 kB / 0.619 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.141e-05/0.002128, allocations: 8 kB / 0.619 GB, free: 12.69 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.002174, allocations: 8 kB / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.416e-05/0.002208, allocations: 15.91 kB / 0.6191 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.002253, allocations: 0 / 0.6191 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.002268, allocations: 0 / 0.6191 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.002468, allocations: 175.8 kB / 0.6192 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.002481, allocations: 7.984 kB / 0.6192 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.002496, allocations: 3.984 kB / 0.6192 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.002645, allocations: 107.7 kB / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.002647, allocations: 0 / 0.6193 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002647, allocations: 4 kB / 0.6194 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.002651, allocations: 0 / 0.6194 GB, free: 12.38 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002547/0.002906, allocations: 270.1 kB / 0.6196 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.002944, allocations: 12.03 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.676e-05/0.00297, allocations: 34.75 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.002991, allocations: 0.9375 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/0.003064, allocations: 113.7 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.003073, allocations: 384 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.003092, allocations: 384 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.876e-05/0.00318, allocations: 55.97 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.003187, allocations: 4.188 kB / 0.6198 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.003196, allocations: 4.375 kB / 0.6198 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.003201, allocations: 8.125 kB / 0.6198 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.77e-05/0.003218, allocations: 3.984 kB / 0.6198 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001158/0.003334, allocations: 116.8 kB / 0.62 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.62e-05/0.00338, allocations: 30.55 kB / 0.62 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.003397, allocations: 8.844 kB / 0.62 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006653/0.004062, allocations: 175.9 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.004084, allocations: 34.56 kB / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.004085, allocations: 0 / 0.6202 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004039/0.004489, allocations: 181.2 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.004514, allocations: 51.41 kB / 0.6204 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.469e-05/0.004559, allocations: 101.8 kB / 0.6205 GB, free: 11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.004568, allocations: 25.7 kB / 0.6205 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.541e-05/0.004593, allocations: 84.14 kB / 0.6206 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.004612, allocations: 7.953 kB / 0.6206 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.004637, allocations: 17.7 kB / 0.6206 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.004705, allocations: 314.8 kB / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.004718, allocations: 4 kB / 0.6209 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.00474, allocations: 29.81 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.499e-05/0.004775, allocations: 25.7 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.004776, allocations: 3.938 kB / 0.621 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.656e-05/0.004833, allocations: 57.59 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.004844, allocations: 8 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.004848, allocations: 336 / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.004861, allocations: 7.922 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.145e-05/0.004903, allocations: 4 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.004908, allocations: 4.062 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-06/0.004917, allocations: 4 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.004922, allocations: 0 / 0.6211 GB, free: 10.37 MB / 0.5886 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 5.298e-05/0.004975, allocations: 110.8 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-06/0.004981, allocations: 3.984 kB / 0.6212 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.683e-05/0.005068, allocations: 69.23 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.00507, allocations: 3.938 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.005074, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005076, allocations: 0 / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.562e-05/0.005142, allocations: 124.8 kB / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.005143, allocations: 8 kB / 0.6214 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.242e-05/0.005176, allocations: 7.984 kB / 0.6214 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.005177, allocations: 4 kB / 0.6214 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.005183, allocations: 0 / 0.6214 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.005184, allocations: 3.938 kB / 0.6214 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.005185, allocations: 0 / 0.6214 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.307e-05/0.005278, allocations: 77.06 kB / 0.6215 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.005284, allocations: 3.953 kB / 0.6215 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.005294, allocations: 4 kB / 0.6215 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.229e-05/0.005316, allocations: 7.922 kB / 0.6215 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.005328, allocations: 4.031 kB / 0.6215 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.005331, allocations: 4.062 kB / 0.6215 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.418e-05/0.005355, allocations: 79.28 kB / 0.6216 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005355, allocations: 0 / 0.6216 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001511/0.005506, allocations: 35.92 kB / 0.6216 GB, free: 9.746 MB / 0.5886 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.0003287/0.005835, allocations: 0.632 MB / 0.6222 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.744e-05/0.005912, allocations: 19.92 kB / 0.6222 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005914, allocations: 3.938 kB / 0.6222 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.005925, allocations: 8 kB / 0.6223 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000115/0.00604, allocations: 16.23 kB / 0.6223 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000645/0.006685, allocations: 1.147 MB / 0.6234 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.645e-05/0.006721, allocations: 59.3 kB / 0.6234 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.771e-05/0.006739, allocations: 8.062 kB / 0.6235 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.006764, allocations: 12.5 kB / 0.6235 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of SimCode: time 3.1e-07/0.006765, allocations: 3.938 kB / 0.6235 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.02118, allocations: 2.78 MB / 0.6262 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.747, allocations: 5.875 kB / 0.6262 GB, free: 5.074 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Actuators_BaseClasses_Examples_EqualPercentageDerivativeCheck.fmu > IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.329634652473032] Failed to read output from testmodel.py, exit status != 0: 6.826699387282133 6.835695285 6.831278321 Calling exit ...