Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.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.0007575/0.0007575, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0007851/0.0007851, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.9482/0.9482, 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 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.7164/0.7164, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 4 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.109e-05, allocations: 5.781 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.001491/0.001512, allocations: 1.272 MB / 0.6192 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002816/0.004328, allocations: 3.071 MB / 0.6222 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.004357, allocations: 0 / 0.6222 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.004375, allocations: 3.938 kB / 0.6222 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.399e-05/0.004419, allocations: 7.938 kB / 0.6223 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004602/0.004879, allocations: 115.4 kB / 0.6224 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.004946, allocations: 39.78 kB / 0.6224 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.13e-05/0.004978, allocations: 3.984 kB / 0.6224 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.046e-05/0.005028, allocations: 23.92 kB / 0.6224 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.482e-05/0.005083, allocations: 15.97 kB / 0.6224 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.005094, allocations: 0 / 0.6224 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.005253, allocations: 71.75 kB / 0.6225 GB, free: 9.121 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.005267, allocations: 7.984 kB / 0.6225 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.005285, allocations: 12 kB / 0.6225 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.005427, allocations: 79.7 kB / 0.6226 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.005429, allocations: 0 / 0.6226 GB, free: 9.023 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.112e-06/0.00543, allocations: 4 kB / 0.6226 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.005434, allocations: 0 / 0.6226 GB, free: 9.02 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.0003075/0.005742, allocations: 270.3 kB / 0.6229 GB, free: 8.727 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.005784, allocations: 9.469 kB / 0.6229 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.034e-05/0.005814, allocations: 38.75 kB / 0.6229 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.005883, allocations: 8.891 kB / 0.6229 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.463e-05/0.005948, allocations: 105.8 kB / 0.623 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.00596, allocations: 8.375 kB / 0.623 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.005981, allocations: 4.375 kB / 0.623 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.006105, allocations: 135.3 kB / 0.6232 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.006112, allocations: 192 / 0.6232 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.006123, allocations: 11.86 kB / 0.6232 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.006127, allocations: 0 / 0.6232 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.082e-05/0.006168, allocations: 15.98 kB / 0.6232 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.006288, allocations: 132.8 kB / 0.6233 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.986e-05/0.006368, allocations: 46.56 kB / 0.6234 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.006391, allocations: 12.86 kB / 0.6234 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004293/0.00682, allocations: 257.9 kB / 0.6236 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.00684, allocations: 38.56 kB / 0.6237 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.051e-06/0.006841, allocations: 3.938 kB / 0.6237 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004098/0.007251, allocations: 213.2 kB / 0.6239 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.007276, allocations: 51.41 kB / 0.6239 GB, free: 7.469 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.051e-05/0.007326, allocations: 101.8 kB / 0.624 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.007338, allocations: 29.7 kB / 0.624 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.00737, allocations: 84.09 kB / 0.6241 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.007384, allocations: 31.75 kB / 0.6242 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.007415, allocations: 33.64 kB / 0.6242 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.007489, allocations: 314.8 kB / 0.6245 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.007508, allocations: 15.98 kB / 0.6245 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.884e-05/0.007547, allocations: 57.14 kB / 0.6246 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.007608, allocations: 69.66 kB / 0.6246 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.007609, allocations: 0 / 0.6246 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001004/0.007709, allocations: 105.5 kB / 0.6247 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.00772, allocations: 4 kB / 0.6247 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.007725, allocations: 0 / 0.6247 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.007736, allocations: 8 kB / 0.6247 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.836e-05/0.007784, allocations: 19.98 kB / 0.6248 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.00779, allocations: 4 kB / 0.6248 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.173e-05/0.007812, allocations: 7.938 kB / 0.6248 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.007818, allocations: 4 kB / 0.6248 GB, free: 6.52 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 5.524e-05/0.007873, allocations: 118.9 kB / 0.6249 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.007888, allocations: 8 kB / 0.6249 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.007908, allocations: 12.11 kB / 0.6249 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.00791, allocations: 0 / 0.6249 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.007914, allocations: 0 / 0.6249 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.007916, allocations: 0 / 0.6249 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.00806, allocations: 144.8 kB / 0.625 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.32e-07/0.00806, allocations: 4 kB / 0.625 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.008107, allocations: 23.92 kB / 0.6251 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.008109, allocations: 0 / 0.6251 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.008115, allocations: 0 / 0.6251 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.008115, allocations: 80 / 0.6251 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.008118, allocations: 11.92 kB / 0.6251 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.008244, allocations: 175.4 kB / 0.6252 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.008263, allocations: 7.953 kB / 0.6252 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.008272, allocations: 0 / 0.6252 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.319e-05/0.008325, allocations: 4 kB / 0.6253 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.00834, allocations: 8.031 kB / 0.6253 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.008345, allocations: 4 kB / 0.6253 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.164e-05/0.008367, allocations: 75.28 kB / 0.6253 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008367, allocations: 0 / 0.6253 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001501/0.008517, allocations: 16 kB / 0.6254 GB, free: 5.855 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0003253/0.008842, allocations: 0.7124 MB / 0.626 GB, free: 5.113 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.906e-05/0.008931, allocations: 43.86 kB / 0.6261 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008933, allocations: 0 / 0.6261 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-05/0.008947, allocations: 15.94 kB / 0.6261 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.009141, allocations: 9.812 kB / 0.6261 GB, free: 5.047 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009101/0.01005, allocations: 1.466 MB / 0.6275 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.99e-05/0.01009, allocations: 67.34 kB / 0.6276 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.01012, allocations: 12.05 kB / 0.6276 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.313e-05/0.01016, allocations: 16.5 kB / 0.6276 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of SimCode: time 5.21e-07/0.01016, allocations: 0 / 0.6276 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.02628, allocations: 2.339 MB / 0.6299 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/6.967, allocations: 2.812 kB / 0.6299 GB, free: 1.16 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck_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_Examples_WaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.887112375348806] Failed to read output from testmodel.py, exit status != 0: 7.051265357062221 7.067801377 7.059295657 Calling exit ...