Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.0008004/0.0008004, 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.0008021/0.0008021, allocations: 170.3 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.9421/0.9421, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.7168/0.7168, allocations: 154.6 MB / 413.7 MB, free: 0.8008 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.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.24e-05, allocations: 8.375 kB / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002056/0.002088, allocations: 1.273 MB / 0.6193 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.004443, allocations: 2.371 MB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.00448, allocations: 4 kB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.004502, allocations: 3.938 kB / 0.6216 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.508e-05/0.004557, allocations: 3.938 kB / 0.6216 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.005171, allocations: 135.2 kB / 0.6217 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.565e-05/0.005266, allocations: 35.84 kB / 0.6218 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.005308, allocations: 4 kB / 0.6218 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.611e-05/0.005374, allocations: 27.91 kB / 0.6218 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.605e-05/0.00544, allocations: 11.98 kB / 0.6218 GB, free: 9.867 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.005456, allocations: 4 kB / 0.6218 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.00569, allocations: 103.7 kB / 0.6219 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.005709, allocations: 15.97 kB / 0.6219 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.005732, allocations: 8 kB / 0.6219 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.005926, allocations: 87.7 kB / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.005931, allocations: 0 / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.004e-06/0.005933, allocations: 0 / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.005939, allocations: 0 / 0.622 GB, free: 9.652 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.0003961/0.006335, allocations: 276.6 kB / 0.6223 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.006386, allocations: 17.47 kB / 0.6223 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.006422, allocations: 34.75 kB / 0.6223 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.006579, allocations: 16.88 kB / 0.6223 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.495e-05/0.006653, allocations: 109.7 kB / 0.6224 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.006667, allocations: 4.375 kB / 0.6224 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.00669, allocations: 4.375 kB / 0.6224 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.006849, allocations: 149.9 kB / 0.6226 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.006856, allocations: 192 / 0.6226 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.006868, allocations: 3.938 kB / 0.6226 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.006874, allocations: 0 / 0.6226 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.294e-05/0.006917, allocations: 27.91 kB / 0.6226 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.007411, allocations: 404.3 kB / 0.623 GB, free: 8.484 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.00753, allocations: 75.59 kB / 0.6231 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.823e-05/0.007559, allocations: 26.64 kB / 0.6231 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.007571, allocations: 3.938 kB / 0.6231 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.007595, allocations: 34.56 kB / 0.6231 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.993e-06/0.007597, allocations: 3.938 kB / 0.6231 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0006369/0.008234, allocations: 233.4 kB / 0.6234 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.008283, allocations: 102.8 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.233e-05/0.008345, allocations: 105.8 kB / 0.6236 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.008358, allocations: 25.7 kB / 0.6236 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.008399, allocations: 92.09 kB / 0.6237 GB, free: 7.672 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.008414, allocations: 23.8 kB / 0.6237 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.008454, allocations: 29.66 kB / 0.6237 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.008554, allocations: 318.8 kB / 0.624 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.008607, allocations: 15.98 kB / 0.624 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-05/0.008654, allocations: 53.08 kB / 0.6241 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.236e-05/0.008727, allocations: 73.16 kB / 0.6242 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008728, allocations: 0 / 0.6242 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.835e-05/0.008826, allocations: 93.55 kB / 0.6243 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.008842, allocations: 8 kB / 0.6243 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.008848, allocations: 0.6094 kB / 0.6243 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.008863, allocations: 4 kB / 0.6243 GB, free: 7.008 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.308e-05/0.008926, allocations: 28.05 kB / 0.6243 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.008933, allocations: 0 / 0.6243 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.008957, allocations: 8.062 kB / 0.6243 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.008964, allocations: 4 kB / 0.6243 GB, free: 6.969 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.261e-05/0.009027, allocations: 118.8 kB / 0.6244 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.009059, allocations: 7.953 kB / 0.6244 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.009089, allocations: 11.8 kB / 0.6244 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.009093, allocations: 3.984 kB / 0.6244 GB, free: 6.82 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.009099, allocations: 4 kB / 0.6244 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.009103, allocations: 0 / 0.6244 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.009325, allocations: 152.6 kB / 0.6246 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.009326, allocations: 0 / 0.6246 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.00938, allocations: 23.92 kB / 0.6246 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.009382, allocations: 0 / 0.6246 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.00939, allocations: 0 / 0.6246 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.009393, allocations: 4 kB / 0.6246 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009394, allocations: 0 / 0.6246 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.009591, allocations: 330 kB / 0.6249 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.009626, allocations: 11.95 kB / 0.6249 GB, free: 6.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.00964, allocations: 4.031 kB / 0.625 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.861e-05/0.009739, allocations: 8 kB / 0.625 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.009755, allocations: 4 kB / 0.625 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.009762, allocations: 7.984 kB / 0.625 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.538e-05/0.009787, allocations: 83.22 kB / 0.625 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009787, allocations: 0 / 0.625 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002048/0.009992, allocations: 12 kB / 0.6251 GB, free: 6.129 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0004028/0.01039, allocations: 0.8594 MB / 0.6259 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.0105, allocations: 51.95 kB / 0.6259 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.01051, allocations: 4 kB / 0.626 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.929e-05/0.01053, allocations: 19.92 kB / 0.626 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.01089, allocations: 4.156 kB / 0.626 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.01202, allocations: 1.636 MB / 0.6276 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.982e-05/0.01208, allocations: 71.33 kB / 0.6276 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.867e-05/0.01212, allocations: 4.062 kB / 0.6276 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.01217, allocations: 16.5 kB / 0.6277 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of SimCode: time 1.162e-06/0.01217, allocations: 0 / 0.6277 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.03305, allocations: 2.377 MB / 0.63 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.118, allocations: 9.719 kB / 0.63 GB, free: 1.125 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.046620759181678] Failed to read output from testmodel.py, exit status != 0: 7.2052174005657434 7.216322613 7.20832667 Calling exit ...