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.0007703/0.0007703, 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.0008295/0.0008295, 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.9469/0.9469, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7299/0.7299, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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 3.086e-06/3.086e-06, allocations: 0 / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/3.086e-05, allocations: 5.375 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterDerivativeCheck): time 0.002498/0.002529, allocations: 1.263 MB / 0.6192 GB, free: 12.49 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00281/0.005339, allocations: 3.063 MB / 0.6222 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.005376, allocations: 4 kB / 0.6222 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.005395, allocations: 0 / 0.6222 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.005448, allocations: 11.86 kB / 0.6222 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.005987, allocations: 115.4 kB / 0.6224 GB, free: 9.273 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.00607, allocations: 35.84 kB / 0.6224 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.006113, allocations: 4 kB / 0.6224 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.756e-05/0.00617, allocations: 27.91 kB / 0.6224 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.162e-05/0.006232, allocations: 15.97 kB / 0.6224 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.006255, allocations: 4 kB / 0.6224 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.006441, allocations: 59.77 kB / 0.6225 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.006455, allocations: 15.98 kB / 0.6225 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.006481, allocations: 7.984 kB / 0.6225 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.006638, allocations: 79.72 kB / 0.6226 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.006642, allocations: 0 / 0.6226 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.494e-06/0.006645, allocations: 0 / 0.6226 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.006649, allocations: 0 / 0.6226 GB, free: 9.027 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.0004246/0.007074, allocations: 274.3 kB / 0.6229 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.00712, allocations: 13.47 kB / 0.6229 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.007153, allocations: 34.69 kB / 0.6229 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.007257, allocations: 8.891 kB / 0.6229 GB, free: 8.668 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.16e-05/0.007339, allocations: 113.8 kB / 0.623 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.007352, allocations: 4.375 kB / 0.623 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.007379, allocations: 4.375 kB / 0.623 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.007536, allocations: 135.3 kB / 0.6232 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.007546, allocations: 192 / 0.6232 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.00756, allocations: 3.938 kB / 0.6232 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.007568, allocations: 0 / 0.6232 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.439e-05/0.007622, allocations: 23.97 kB / 0.6232 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.007785, allocations: 128.8 kB / 0.6233 GB, free: 8.172 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.007893, allocations: 50.5 kB / 0.6234 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.027e-05/0.007924, allocations: 20.84 kB / 0.6234 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007258/0.00865, allocations: 250 kB / 0.6236 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.008674, allocations: 34.56 kB / 0.6236 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.008675, allocations: 3.938 kB / 0.6237 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0005825/0.009258, allocations: 217.2 kB / 0.6239 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.009293, allocations: 55.41 kB / 0.6239 GB, free: 7.465 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.009357, allocations: 105.8 kB / 0.624 GB, free: 7.352 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.009368, allocations: 25.7 kB / 0.624 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.00941, allocations: 88.09 kB / 0.6241 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.009428, allocations: 35.73 kB / 0.6242 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.009462, allocations: 21.72 kB / 0.6242 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.454e-05/0.009547, allocations: 322.8 kB / 0.6245 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.009566, allocations: 12 kB / 0.6245 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.374e-05/0.00961, allocations: 53.14 kB / 0.6245 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.518e-05/0.009675, allocations: 65.09 kB / 0.6246 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.009679, allocations: 8.422 kB / 0.6246 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.994e-05/0.009779, allocations: 97.52 kB / 0.6247 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.009794, allocations: 4 kB / 0.6247 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.009804, allocations: 11.92 kB / 0.6247 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.009821, allocations: 0 / 0.6247 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.44e-05/0.009876, allocations: 20 kB / 0.6247 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.009885, allocations: 4 kB / 0.6247 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.009906, allocations: 0 / 0.6247 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.009914, allocations: 4 kB / 0.6248 GB, free: 6.527 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 7.87e-05/0.009992, allocations: 130.8 kB / 0.6249 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.01001, allocations: 4 kB / 0.6249 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.99e-05/0.01004, allocations: 8.125 kB / 0.6249 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01004, allocations: 0 / 0.6249 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.01005, allocations: 0 / 0.6249 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01005, allocations: 4 kB / 0.6249 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.01022, allocations: 148.8 kB / 0.625 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01022, allocations: 288 / 0.625 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.01026, allocations: 19.92 kB / 0.6251 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.01026, allocations: 0 / 0.6251 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.01027, allocations: 0 / 0.6251 GB, free: 6.172 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.01027, allocations: 8.078 kB / 0.6251 GB, free: 6.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.01027, allocations: 3.984 kB / 0.6251 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.01043, allocations: 179.3 kB / 0.6252 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.2e-05/0.01045, allocations: 7.953 kB / 0.6252 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.01047, allocations: 48 / 0.6252 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.737e-05/0.01052, allocations: 11.98 kB / 0.6253 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.01054, allocations: 0 / 0.6253 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.01054, allocations: 4 kB / 0.6253 GB, free: 5.945 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.516e-05/0.01057, allocations: 83.27 kB / 0.6253 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01057, allocations: 0 / 0.6253 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001592/0.01073, allocations: 12 kB / 0.6253 GB, free: 5.852 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.0003747/0.0111, allocations: 0.7162 MB / 0.626 GB, free: 5.105 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.01122, allocations: 35.97 kB / 0.6261 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01122, allocations: 0 / 0.6261 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.71e-05/0.01123, allocations: 16 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.0002939/0.01153, allocations: 11.92 kB / 0.6261 GB, free: 5.043 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.01266, allocations: 1.466 MB / 0.6275 GB, free: 3.465 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.17e-05/0.01272, allocations: 67.34 kB / 0.6276 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.891e-05/0.01276, allocations: 12.05 kB / 0.6276 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.01281, allocations: 12.5 kB / 0.6276 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of SimCode: time 6.32e-07/0.01281, allocations: 0 / 0.6276 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.03118, allocations: 2.34 MB / 0.6299 GB, free: 1.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.06, allocations: 9.656 kB / 0.6299 GB, free: 1.156 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 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.935162882320583] Failed to read output from testmodel.py, exit status != 0: 7.145031977444887 7.152478628 7.143995129 Calling exit ...